PowerShell/Docs/list-timezones.md

41 lines
1.1 KiB
Markdown
Raw Normal View History

2021-09-28 11:56:17 +02:00
# PowerShell Script: list-timezones.ps1
```powershell
2021-10-06 10:46:35 +02:00
Lists all available time zones
2021-09-28 11:56:17 +02:00
```
2021-10-06 10:46:35 +02:00
list-timezones.ps1
2021-09-28 11:56:17 +02:00
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/list-timezones.ps1 [<CommonParameters>]
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS>./list-timezones
2021-10-06 10:46:35 +02:00
Id DisplayName SupportsDaylight
SavingTime
-- ----------- ----------------
Hawaiian Standard Time (UTC-10:00) Hawaii False
Alaskan Standard Time (UTC-09:00) Alaska True
...
2021-09-28 11:56:17 +02:00
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of list-timezones.ps1*