Tuesday, 20 September 2016

Listing Task Sequence Variables:

Listing Task Sequence Variables:

With Powershell script

$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
$tsenv.GetVariables() | % { Write-Host "$_ = $($tsenv.Value($_))" }



IE Free Tool to List Task Sequence Variables:

TSEnv2.exe list
TSEnv2.exe list > osdvarables.txt
TSEnv2.exe get _SMSTSMDataPath

No comments:

Post a Comment