Quantcast
Channel: Ivanti User Community: Message List - OS Deployment and Provisioning
Viewing all articles
Browse latest Browse all 3345

Re: Run powershell script after domain join with Provisioning

$
0
0

Hi,

 

Thanks for your help and I am sorry for my slow reply.  I looked at your template it and seems you are just calling ‘powershell’, without the .exe. I tried this, as well as ‘powershell.exe’, but I always get the same result Error: 8001000H file powershell.exe not found.  I have attached a screenshot showing a successfully execution from a command prompt which represents exactly how I am calling the file from within provisioning.  Target path and file name is either powershell.exe or the full path to it and the command line paramters are

 

-NonInteractive -NoProfile "&'C:\Program Files (x86)\LANDesk\LDClient\sdmcache\osinstall\pow.ps1'"

 

This has really been driving me nuts!  Powershell scripts in software distribution work fine but I can’t use that since this script uses passwords and I am taking advantages of the sensitive data action variables.

 

Any help would be greatly appreciated.

Thanks,

Brad


Viewing all articles
Browse latest Browse all 3345

Trending Articles