Forum Discussion
Kevin Ryan
Oct 02, 2019Copper Contributor
Run Script not available in the SDK?
Hi, I am trying to automate running a published PowerShell script. In the ConfigMgr console I can add a PowerShell script in the software library. From the console I can then run the script on a...
Kevin Ryan
Oct 03, 2019Copper Contributor
OK I think I found the answer to my own question so I may as well psot here in case it proves useful to anyone else .
https://docs.microsoft.com/en-us/powershell/module/configurationmanager/invoke-cmscript?view=sccm-ps