Added Azure VM And Powershell
This commit is contained in:
18
Cloud/Azure/Azure Virtual Machine/Change Time Zone.md
Normal file
18
Cloud/Azure/Azure Virtual Machine/Change Time Zone.md
Normal 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
|
||||||
0
Windows/Powershell/Azure Active Directory.md
Normal file
0
Windows/Powershell/Azure Active Directory.md
Normal file
0
Windows/Powershell/Azure.md
Normal file
0
Windows/Powershell/Azure.md
Normal file
0
Windows/Powershell/Microsoft 365 - Exchange.md
Normal file
0
Windows/Powershell/Microsoft 365 - Exchange.md
Normal file
Reference in New Issue
Block a user