Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

powershell script modification help

$
0
0

i have powershell script available. it changes advertisement schedule. I am looking some one to modify the script.

$d=New-CMSchedule -Start "8/11/2014 1:00 PM" -Nonrecurring

 Set-CMPackageDeployment -PackageId "00100754" -StandardProgramName "Automated-Reboot" -CollectionName "ITS - SCMS ED5 Central Push PWBG5160" -DeploymentAvailableDay 08/08/2014 -DeploymentAvailableTime 11:45 -DeploymentExpireDay 08/11/2014 -DeploymentExpireTime 05:00 -Schedule $d

I want to enter all the value specified in the double quto "" (above script)area in CSV file and scripts take it from input in csv file and run.

Thanks 


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>