Email dw Contents About dw
[Company Logo Image]

at The Data Center

"A space for AD, Exchange and other technical stuff"

 

 -- Where Information Technology Lives!  --

 


 

When you create a powershell script you give it a ps1 extension.
 
From the powershell command line you can run the script. To change to the directory (like cd in dos)
set-location c:\scripts.
 
I usually open the folder and drag and drop from the address bar. If you type the set-location first, you are all set.
 
Run the script by typing .\ filename
 
Note you don't need the extension on the file name.
 
Also note, as in a dos window, the up/down arrows will navigate through previos commands.
 
 
hope it helps.
 
dw