Using Task Sequence variables in a PowerShell script
Hi Again, In my last entry I posted a script that uses the following line of code:
1 |
$TSEnv = New-Object -ComObject Microsoft.SMS.TSEnvironment |
Running the above code during the build process (i.e. inside the Task Sequence) lets me interact with any Task Sequence variable. I can obtain the value of any variable in the Task Sequence… Read more »