TS Environment and French characters RRS feed

  • Question

  • Hi,

    I use role in MDT and created them with my french words ...
    One is : "Privé Drirection Financière"

    In my deployment I use a step in my task sequence which run a powershell script with these lines :

    $myTSEnv = New-Object -ComObject Microsoft.SMS.TSEnvironment
    $myRole = $myTSEnv.value("Role001")

    and I got in $myRole : Privé Direction Financière

    What can I do to have the right value ?

    Thank you for your help.


    Wednesday, June 19, 2019 6:54 AM