Hi guys and fellow sufferes :),
I am in trouble with a PS script running inside as TaskSequence ...
A collection-variable (e.g. "Language") is given (entered by the installer) and I am trying to get the value inside a Powershell Script...
$TSEnv=New-Object-COMObjectMicrosoft.SMS.TSEnvironment
$NewVariable = $TSEnv.Value ("Language")
Unfortunately I am not the PS crack... only what I want to archive is to have the value of the collection variable Language in a Powershell Variable .. If I debug the TS and run a GetVariables() I do see a list of all TS Variables... including my own "Language Variable" ...
Someone any idea/hint !?
Thanks in advance !
Markus