question

lily-3557 avatar image
0 Votes"
lily-3557 asked AndreasBaumgarten answered

AVD Time Zone

Hello. Thank you for checking my question.

Before generating avd, a golden image was created and the time zone was set to Seoul, and when avd was created with that image, the time was reset again and changed to the world standard time UTC. Is there a solution?

azure-virtual-desktop
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@lily-3557 You can use a script to adjust the time zone or each session can take the end user time zone based on the user that is connecting to the session. Let me know if you have further questions.

0 Votes 0 ·
lily-3557 avatar image lily-3557 karishmatiwari-msft ·

Hello. Thank you for your reply. Can you tell me how to adjust the time zone use a script?

0 Votes 0 ·

1 Answer

AndreasBaumgarten avatar image
1 Vote"
AndreasBaumgarten answered

Hi @lily-3557 ,

you can use the PowerShell command Set-TimeZone in a PowerShell script: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-timezone?view=powershell-7.2

For instance Set-TimeZone -Id "W. Europe Standard Time"


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.