Get-MonthName
March 30, 2025 ยท View on GitHub
SYNOPSIS
Get the list of month names.
SYNTAX
Get-MonthName [-Short] [<CommonParameters>]
DESCRIPTION
This command will return a list of month names according to your current culture.
EXAMPLES
Example 1
PS C:\> Get-MonthName
January
February
March
April
May
June
July
August
September
October
November
December
Get the standard list of month names.
Example 2
PS C:\> Get-MonthName -Short
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Get the list of short month names.
PARAMETERS
-Short
Get short month names.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
String
NOTES
Learn more about PowerShell: https://jdhitsolutions.com/yourls/newsletter