Get-PSCalendarConfiguration
August 14, 2025 ยท View on GitHub
SYNOPSIS
Get the current PSCalendar ANSI configuration.
SYNTAX
Get-PSCalendarConfiguration [<CommonParameters>]
DESCRIPTION
Get-Calendar and Show-Calendar commands rely on ANSI escape sequences to colorize the output. You can use this command to view the current settings. The settings will use an appropriate escape character based on your PowerShell version. Use Set-PSCalendarConfiguration to modify the settings.
EXAMPLES
Example 1
PS C:\> Get-PSCalendarConfiguration
Title : `e[1;3;38;5;120m
DayOfWeek : `e[1;4;36m
Today : `e[92m
Highlight : `e[1;3;38;5;213m
Weekend : `e[38;5;252m
The display will be formatted with the corresponding ANSI escape sequence. The escape character, will reflect your current PowerShell version.
PARAMETERS
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.