Enter Keywords:
1 - 10 of 654(0.001 seconds)
Sort By:
 
I’ve been trying to write a file audit script that will obtain some basic attributes of all files on a CIFS based file system, but not modify the last accessed date. I am extracting the filename...
Zones: Programming, Del...Date Answered: 06/05/2006 Rating: 7.4 Views: 0
What am i doing wrong? I'd like to change username. PS > $network = New-Object -com wscript.network PS > $network.UserName = "uus" Exception setting "UserName": "Number of parameters specified...
Zones: ScriptingDate Answered: 11/04/2007 Rating: 7.6 Views: 0
Anybody know if there is a way to use powershell commands in exchange 2007 to setup mailbox forwards? I'm just trying to forward a couple of users email accounts.
Zones: Windows 2003 Server, Ex...Date Answered: 08/28/2007 Rating: 9.2 Views: 0
I am learning powershell and I need to know exactly what is happening here in these two different examples: PS (1) > $x=0 PS (2) > $a = "x is $($x++; $x)" PS (4) > 1..3 | foreach {$a} BASIC T...
Zones: ScriptingDate Answered: 08/10/2007 Rating: 8.0 Views: 0
I am trying to search for a mailbox by using the GUID that is provided to me in an error from MOM. I am getting an error in powershell but I do not know why.  Here is the following: [PS] R:\>ge...
Zones: ScriptingDate Answered: 09/14/2007 Rating: 8.2 Views: 0
Hi, I have this in mind from a long time.Can all this be done in 1 script. 1. Disable all users in the file 2. Send a mail to a user with all the details of the user. 3. Change the descriptio...
Zones: Microsoft OS, Scripting, Active Direc...Date Answered: 09/17/2007 Rating: 7.2 Views: 0
I want my $env:path to search 2 different directories when I execute scripts in Windows PowerShell.  I need to know the exact syntax of how to add the second directory in the profile.ps1 file. Thi...
Zones: PowershellDate Answered: 11/30/2007 Rating: 8.2 Views: 0
I know that using import-csv works well with csv files formatted with each column labled. For instance: name,number,other Test,12345,otherDetail. However I'm working with csvs that do not hav...
Zones: Scripting, PowershellDate Answered: 01/07/2008 Rating: 8.2 Views: 93
I need a script in Powershell that will create a virtual directory in IIS. I am currently using the following code with no luck.  Anyone know how I can do this?
Zones: Microsoft IIS Web Server, Scriptin...Date Answered: 01/18/2008 Rating: 9.0 Views: 19
Hello, I am creating a batch file using Powershell.  I am executing a copy command as such: copy-item $sourcefile $destinationfile I want to trap if the copy command works or fails, becaus...
Zones: Windows Programming, Windows 2003 S...Date Answered: 03/03/2008 Rating: 9.3 Views: 11