Powershell scripts for Sharepoint 2010
#Create task to repeat every 2 hours from now (it's set as 'Once' and every 2 hours indefinitely)
schtasks /create /sc hourly /mo 2 /tn "Task Name" /tr "PowerShell -command c:\pathToScript\ScriptFileName.ps1"
schtasks | /create | /sc | repeat task | run script | every 2 hours | run powershell script regularly | task | task scheduler | job | timer job | scheduled job
© 2012 All rights reserved.