< Back

Get-MrLeapYear2

Sat Jan 18, 2020 4:35 pm

NAME Get-MrLeapYear2



SYNOPSIS

Get-MrLeapYear is used to determine whether or not a specific year is a leap year.





SYNTAX

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





DESCRIPTION

Get-MrLeapYear is a function that is used to determine whether or not the specified

year(s) are leap years. Contrary to popular belief, leap year does not occur every

four years: http://en.wikipedia.org/wiki/Leap_year





PARAMETERS

-Year <Int32[]>

The year(s) specified in integer form that you would like to determine whether or

not they are a leap 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

String





NOTES





Author: Mike F Robbins

Website: http://mikefrobbins.com

Twitter: @mikefrobbins



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



PS C:\\>Get-MrLeapYear













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



PS C:\\>Get-MrLeapYear -Year 2010, 2011, 2012, 2013, 2014, 2015













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



PS C:\\>1890..1910 | Get-MrLeapYear















RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

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

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

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

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-MrParameterAlias [-Name] <string> [<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-MrParameterAlias

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

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

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

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

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-MrPipelineInput [-Name] <string> [[-Option] <WhereOperatorSelectionMode>] [[-Records]

<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-MrPipelineInput

Category : Function

Component :

Role :

Functionality :