Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Unable to run powershell script as a package through SCCM 2012

$
0
0

Hi All,

I have a powershell script that i can run manually on a Windows 8.1 machine but when i create a package for that script in SCCM 2012 and than try to execute it it fails. the command I use in SCCM command line is as below :-

powershell.exe -file .\Add-AppDevPackage.ps1

Any suggestions on how to get this execute through SCCM??

 

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles