< Back

Get-MrDayLightSavingTime

Sat Jan 18, 2020 4:35 pm

NAME Get-MrDayLightSavingTime



SYNOPSIS

Returns the beginning and ending date for daylight saving time.





SYNTAX

Get-MrDayLightSavingTime [[-Year] <Int32[]>] [<CommonParameters>]





DESCRIPTION

Get-MrDayLightSavingTime is a function that returns the dates when

daylight saving time begins and ends for the specified year.





PARAMETERS

-Year <Int32[]>

The year to return the daylight saving time dates for. The year cannot

be earlier than 2007 because the dates were in April and October instead

of March and November prior to that year. The default is the current year.



Required? false

Position? 1

Default value (Get-Date).Year

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Integer





OUTPUTS

PSCustomObject





NOTES





Written by Mike F Robbins

Blog: http://mikefrobbins.com

Twitter: @mikefrobbins



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-MrDayLightSavingTime













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-MrDayLightSavingTime -Year 2014, 2015













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-MrDayLightSavingTime -Year (2011..2020)













-------------------------- EXAMPLE 4 --------------------------



PS C:\\>2014, 2015 | Get-MrDayLightSavingTime













-------------------------- EXAMPLE 5 --------------------------



PS C:\\>2011..2020 | Get-MrDayLightSavingTime















RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-MrEsetUpdateVersion; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-MrEsetUpdateVersion [[-ComputerName] <string[]>] [[-Credential] <Object>]

[<CommonParameters>]



ModuleName : MrToolkit

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-MrEsetUpdateVersion

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-MrExceptionType; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-MrExceptionType [[-Count] <int>] [<CommonParameters>]



ModuleName : MrToolkit

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-MrExceptionType

Category : Function

Component :

Role :

Functionality :