Hi,
I am using a script to dump all variables from a TS:
# Determine where to do the logging $tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment $logPath = $tsenv.Value("_SMSTSLogPath") $logFile = "$logPath\$($myInvocation.MyCommand).log" # Start the logging Start-Transcript $logFile # Write all the variables and their values $tsenv.GetVariables() | % { Write-Host "$_ = $($tsenv.Value($_))" } # Stop logging Stop-Transcript
I paused the TS and open x:\windows\temp\smstslog\dumpvar.ps1.log and see:
From x:\windows\temp\smstslog\smsts.log, I get all variables appearing but nothing in dumpvar.log... grrrr
Any idea?