Set Task Sequence Environment Variables

This script can be run in a SCCM Task Sequence to set the following Environment Variables.Called as a simple "Run Command Line" within the Task Sequence.powershell.exe -noprofile -command "&{$log = 'x:\Windows\Temp\CLILog.log';$tsenv = New-Object -ComObject Microsoft.SMS.TSEnviro

 
 
 
 
 
(0)
217 times
Add to favorites
System Center
6/18/2018
E-mail Twitter del.icio.us Digg Facebook