Imported managed Installs from K1000 that call a powershell script are trying to call powershell from absolute path of c:\KACE\Applications\[ID]\Powershell.exe
Due to the rising complexity of packages and needing to do steps such as removing prior versions, configuration, ETC; many of our managed installs call powershell scripts.
It seems that any post-install task in the K2000 that is classified as an "Application" has a hard set action where it will prepend the path of the package's folder to the command. I've tried several methods around this including calling out the absolute path of powershell.exe but the working directory path still gets prepended to the command.
Please log in to answer
Posted by: cserrins 2 years ago