Ive 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...
http://www.experts-exchange.com/Programming/Misc/Q_21841940.html
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...
http://www.experts-exchange.com/Programming/Languages/Scripting/Q_22659674.html
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.
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_227359...
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...
http://www.experts-exchange.com/Programming/Languages/Scripting/Q_22750469.html
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...
http://www.experts-exchange.com/Programming/Languages/Scripting/Q_22754884.html
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...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_22832388.html
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...
http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_22991772.html
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...
http://www.experts-exchange.com/Programming/Languages/Scripting/Q_23040846.html
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?
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_23093...
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_23205168.html