Quantcast
Channel: The Official Scripting Guys Forum! forum
Browsing all 15028 articles
Browse latest View live

From Live@Edu to Office 365 -PowerShell and User Creation Question.

Hy to all!;    Recently my Live@Edu platform was upgraded to Office 365, I use the CSV_Parser.ps1 to add new account using PowerShell.  Today I make a test one account to modify and other to add, but...

View Article


PowerShell to retrieve Users with Permissions from Sharepoint document library

Hello All,   I am trying to get users and their permissions for a MOSS 2007 document library using PowerShell, everyone has posted for Site Users but no one went into detail for library users. Can...

View Article


[PowerShell][EventLog] Compile Messages without MC.exe

Hello fellow scripters,is there a way to compile message / category / Parameter files (for use as resources in Eventlogging) using PowerShell V2 only? (even if I have to swallow a dead crow and do lots...

View Article

Using Get-VMCheckpoint to list existing Checkpoints in Hyper-V

Currently I have a script that I am running that queries our Virtual Machine Manager and lists all servers that have a current snapshot and the date it was created and it works great. As a matter of...

View Article

Get Week starting and ending date given a week number

Hi, Is there any way we can display starting and ending date of a given week number in a year? For example, if the week number is 34 it should display the starting of the week date as 08/19/2013 and...

View Article


Using VBS to map a network drive

Good day,I have a script to map drives by membership within a group however there is a conflict.We have security groups for all of our printers that the users are added to when they need access to that...

View Article

PS Script to install various .exe/.msi - Help with modification

@SRV helped me yesterday with a script to install various .exe's using a PS script. I have made some additions and modifications to have the script also delete the directory after the process...

View Article

Need to include the machine that fail RPC connection

The below code gives me free drive space.  I have had a request to add the failed machines to the same list and specify in the report that the machine failed. When running the script manually it will...

View Article


Initiate Exchange Remoting session within a PowerShell Module

As an Office 365 shop, I'm working on a PowerShell module to encapsulate lower-level functionality within task-based functions (e.g., relicensing a user and setting litigation hold, configuring...

View Article


Using -SearchBase to search AD using powershell

I am using powershell to search active directory but I can seem to read the child OU's. Under "US" in active directory there are cities. For some reason the line below only returns the first city...

View Article

Help with For Each Script

I have a script that uses a txt file with server names to check if a specific service is running.  However, if a condition is met, the script ends and doesn't continue on to the next server.  Here is...

View Article

vbs to backup archived event logs

sdsds0down vote I have a special task to backup archived security event logs. I can backup application and system logs without any issue except security logs Vbs and wevtutil won't recognize log names....

View Article

Powershell encrypt ftp login and run command

I am trying to automate ftp login to reboot a camera. I found exactly the same request but the password wasn't encrypted.the ftp command is built into the camera. I created a text file reboot.txt with:...

View Article


VBS help...

Hello All,I have been tasked with creating a script that will go out and find the IBM iSeries Client Access PC5250.ws file on each computer within my clients domain, then edit the ip address within...

View Article

reset the mailbox quota through script/powershell

Hello friends, Using exchange 2010 Sp2I have AD group called “Advance Users” in which there are 700 users whose mailbox are set to Issues warning at (MB) - 525 and Prohibit send at (MB) – 550 now we...

View Article


Image may be NSFW.
Clik here to view.

VBS : "output is not an XML document" How to encode the displayed result,...

Hello, I write some VBS files to display the informations that come from different versions of Windows.+ Windows : XP, 2003, 2008 R2, 2012.+ Informations :  # Displays protocol statistics and current...

View Article

Converting a script to powershell

I have little experience in Powershell and VBScript even less if not nothing. I was asked to convert the script. How do I start?I am wanting to learn how to do it. But does that mean I have to learn VB...

View Article


Powershell - last logged on user - same input, different output

I remote into another server to run a powershell script that displays the last logged on user.Several thingsIt only works when I run it in the context of a service account, not the AdministratorIt...

View Article

Enter User Input to URL

Alright so I have a URL that looks like below.https://supersample.com/srvr/logon?UserID=5555031234&Password=My1stPassowrdI would like to write a batch file so when someone double clicks it, it...

View Article

Move computer account to a differenct ou using powershell

Looking for a quick script usig powershell to move computers to new ou. Dave

View Article
Browsing all 15028 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>