Pass a task sequence variable to PowerShell script via parameter
When using the Run PowerShell Script task sequence, it would be beneficial to be able to pass task sequence variables in the parameters field, especially when using different credentials where PowerShell no longer has access to Microsoft.SMS.TSEnvironment.
Updating status to started – see https://docs.microsoft.com/en-us/configmgr/core/understand/find-help#send-a-suggestion for an explanation of each value.
Our 1912 Technical Preview is now released!
For more info:
Dave Clegg commented
Would definitely be useful - currently trying to do various interactions with AD during OSD via Powershell and having lots of problems with either not having the right permissions, or using different credentials and then not being able to access task sequence variables.