/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: cserrins 2 years ago
Red Belt
3

Top Answer

https://support.quest.com/kace-systems-deployment-appliance/kb/132013/powershell-post-install-tasks

Comments:
  • Thanks! Do you happen to know if this edit will be tossed out each time the application is refreshed and an updated version is obtained from the K1000? - Kiyolaka 2 years ago
    • It will, apologies. We are looking at ways to improve that, but you won't see anything soon. - cserrins 2 years ago
      • That makes sense. I'm still fairly new to the K2000 appliance. Do applications linked from the K1000 automatically refresh themselves when there is a change/update on the K1000 or does it require going into the imported task and clicking "replace" ? - Kiyolaka 2 years ago
      • At this time you must click replace. We are looking at that too. - cserrins 2 years ago
      • Thanks! I was concerned about any manual edits to the XML reverting themselves if the software packages did auto-update themselves. - Kiyolaka 2 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ