Greetings,
I was wondering if I could create a powershell studio form based exe and launch it in an SCCM OS build task sequence to ask questions etc?
If so, are there any tricks or limitations?
I ask this as we have a contractor who is doing an SCCM build and his powershell code is full of New-Object System.Windows.Forms.xxxx and I thought it would be easier in PS.
Thanks
David
Using PS build exe in SCCM OS builds
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Using PS build exe in SCCM OS builds
You would have to test your EXE. SCCM shares data with PowerShell scripts. It cannot share data with an EXE. That would be a limitation.
I recommend post in in SCM forum for information on what can be shared with an EXE.
With PSS you do not need to create an EXE. You can just save the form as a PS1 and it would have access.
I recommend post in in SCM forum for information on what can be shared with an EXE.
With PSS you do not need to create an EXE. You can just save the form as a PS1 and it would have access.