Get-PSWorkItemPreference
February 11, 2026 ยท View on GitHub
SYNOPSIS
Get saved PSWorkItem preferences
SYNTAX
Get-PSWorkItemPreference [<CommonParameters>]
DESCRIPTION
You can use Update-PSWorkItemPreference to export the HOME. Use Get-PSWorkItemPreference to view the file.
EXAMPLES
Example 1
PS C:\> Get-PSWorkItemPreference
Path: C:\Users\Jeff\PSWorkItem.db [Default Days: 7 Default Category: Work]
Category ANSIString
-------- ----------
Personal `e[32m
Work `e[36m
Event `e[38;5;153m
Training `e[94m
Project `e[38;5;215m
Other `e[38;5;204m
The category will be displayed using the ANSI color sequence.
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.
INPUTS
None
OUTPUTS
psWorkItemPreference
NOTES
Learn more about PowerShell: http://jdhitsolutions.com/yourls/newsletter