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,

 

I have been having a lot of trouble getting powershell scripts to run in provisioning.  I'm sure I am missing something simple but any help would be appreciated.  No matter how I seem specific the action as step in provisioning I always get an error saying that powershell can’t be found.  I have attached 2 screen shots.  The first shows the error in provisioning along with a directory listing showing that it is in fact present.  The second shows my provisioning step, configured as you state above.  I set the execution policy as one of the first things I do in provisioning.  I have verified this is working.  The full path in the provisioning step for the execute script is "%%windir%%\system32\WindowsPowerShell\v1.0\powershell.exe".  I ahve also tried setting the path explicitly. 

 

Thanks,

Brad

 

pro_error.png

provisioning.png


Viewing all articles
Browse latest Browse all 3345

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>