Hey guys,
I have a simple script to create multiple scheduled tasks, but am curious if there is a way to add in the option to select the "Run with highest privileges" and also the "Start In" path under the Actions tab.
This is what we are using to create the scripts, but it would be nice to not have to go back in and select/input those options.
schtasks /create /ru %domain%\administrator /RP ******** /SC DAILY /TN Midday-SFTP /TR D:\NS5\6.2.1-GA\Standard\scripts\Midday-SFTP.cmd /ST 19:00