external help file | Module Name | online version | schema |
---|---|---|---|
PSDates-help.xml |
PSDates |
2.0.0 |
Returns Time Zone information
Find-TimeZone [[-Name <String>]] [[-Offset <Int32>]] [-Local] [-OutGrid] [-ProgressAction <ActionPreference>] [<CommonParameters>]
This function will return the information for the system time zones. You can search by name and/or hour offsets. You can also return the local time zone.
Find-TimeZone -local
Return the time zone of the local system
Find-TimeZone -Name "GMT"
Search for time zones with 'GMT' in the name
Find-TimeZone -Name "central" -Offset -6
Search for time zones with 'Central' in the name and have a UTC offset of -6 hours
Use to return the time zone of the current system
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Accepted values:
Required: True (None) False (All)
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
DontShow: False
All or part of the time zone name. Will be used to perform a wildcard search on the time zones
Type: String
Parameter Sets: (All)
Aliases:
Accepted values:
Required: True (None) False (All)
Position: 0
Default value:
Accept pipeline input: False
Accept wildcard characters: False
DontShow: False
The number of hours the time zone is offset from UTC
Type: Int32
Parameter Sets: (All)
Aliases:
Accepted values:
Required: True (None) False (All)
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
DontShow: False
Use to output time zone selects to Grid View
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Accepted values:
Required: True (None) False (All)
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
DontShow: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Accepted values:
Required: True (None) False (All)
Position: Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False
DontShow: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Fill Related Links Here