Windows Admin Center (WAC) + Powershell

Copper Contributor

so I'm using a PowerShell script which runs .exe installation, both the script and the .exe file located in the same network folder, when I run the script directly from the pc it runs well, but when I'm using WAC's PowerShell console i get an error:

 

The term '\it\installation\PMPAgent\PMP_Agent.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. + CategoryInfo : ObjectNotFound: (\it\installati...armel_Agent.exe:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

what can cause this error?

0 Replies