Added Azure VM And Powershell

This commit is contained in:
Tobias Rydh
2022-11-03 11:43:33 +01:00
parent b7ad54d317
commit 1eda93e9bc
5 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
Timezones on Virtual Machines in Azure can not be set in Settings or Control panel, it needs to be set by a powershell command.
List all available time zones
``` Powershell
Get-TimeZone -ListAvailable
```
List available time zones for a specific region
``` Powershell
Get-TimeZone -ListAvailable | where ({$_.Id -like "*Europe*"})
```
Set the time one on the server
``` Powershell
Set-TimeZone -Id "W. Europe Standard Time"
```
Restart the server