Rename to list-timezone.ps1

This commit is contained in:
Markus Fleschutz
2021-04-17 18:38:38 +02:00
parent 370fe6c7dc
commit 9aa997ebf5
6 changed files with 19 additions and 27 deletions

15
Scripts/list-timezone.ps1 Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/pwsh
<#
.SYNTAX list-timezone.ps1
.DESCRIPTION lists the details of the current time zone
.LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0
#>
try {
get-timezone
exit 0
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}