martbasi 0 Report post Posted January 18, 2016 Hey, Just wondering if anyone knows whether it's possible to run powershell commands/scripts in the SmartPE, eg, in the POSTIMAGE phase? Edit: changed subject. Share this post Link to post Share on other sites
SmartDeploySupport 0 Report post Posted January 18, 2016 Hi Martin,Unfortunately, PowerShell commands are not supported in the SmartDeploy PE environment, as the PowerShell environment is not a part of Windows PE. SmartDeploy Support Team TECH RESOURCES SmartDeploy User Guides DeployCentral Forum Platform Pack RSS SOCIAL Share this post Link to post Share on other sites
martbasi 0 Report post Posted January 18, 2016 Thanks for the response ... I wonder if SmartPE media could be modified as described here...https://technet.microsoft.com/en-us/library/dn605289.aspx Share this post Link to post Share on other sites
martbasi 0 Report post Posted January 20, 2016 So I seem to have successfully added powershell to my SmartPE ISO. Extracted the ISO, applied the steps in the MS link above to the boot.wim, regenerated a new ISO. I sure wish SmartDeploy Media Wizard incorporated this. Having Powershell available opens up so many possibilities. Feature request Share this post Link to post Share on other sites
fllorente 0 Report post Posted January 22, 2016 Extracted the ISO, applied the steps in the MS link above to the boot.wim, regenerated a new ISO. Hmmm... Modifying the boot.win will not break the SmartDeploy license? Regards, -- Javier Llorente Share this post Link to post Share on other sites
martbasi 0 Report post Posted February 1, 2016 Functionally, not that i can tell, works great.In terms of the agreement, they stated above that it's not supported. Which I accept. I just don't understand why not, why is powershell not made a native component of SmartPE? It's physically possible and has some great advantages, it seems a pity. Share this post Link to post Share on other sites
carmando 0 Report post Posted September 11, 2017 Agree. Especially when VBScript is not the preferred method any longer in terms of scripting within a Windows environment. I know what I am saying are feature requests.. In Tasks: Allow to select the type of script being executed instead of having to wrap it within a batch file or calling out vbscript. Possible a script / text area so you paste in your script code into a task. Share this post Link to post Share on other sites
martbasi 0 Report post Posted September 20, 2017 Yay that I'm not the only one. Changed the subject of my OP to maybe draw some attention. Powershell support for tasks that occur during the deploy wizard would be such an upgrade, even a selling point IMO. Share this post Link to post Share on other sites
rchao 0 Report post Posted December 13, 2017 Bumping this thread up as it would be a killer feature. Any hopes of revisiting this? Share this post Link to post Share on other sites
gaz2600 0 Report post Posted March 8, 2018 Bump - Sounds like WinPE can include powershell https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-adding-powershell-support-to-windows-pe Share this post Link to post Share on other sites
J Allen 0 Report post Posted January 28 Double bump. PowerShell in the WinPE image would certainly be a win. Please? Share this post Link to post Share on other sites