external help file | Module Name | online version | schema |
---|---|---|---|
PSWorkItem-help.xml |
PSWorkItem |
2.0.0 |
Get information about the PSWorkItem database
Get-PSWorkItemDatabase [[-Path] <String>] [<CommonParameters>]
Use this command to get a summary of the PSWorkItem database file. You can not modify the database file by modifying any properties of the PSWorkItemDatabase object.
PS C:\> Get-PSWorkItemDatabase
Path: C:\Users\Jeff\PSWorkItem.db [32KB]
Created LastModified Tasks Archived Categories
------- ------------ ----- -------- ----------
7/29/2022 9:59:59 AM 7/30/2022 11:20:17 AM 6 6 5
The default summary.
PS C:\> Get-PSWorkItemDatabase | Format-List
Path : C:\Users\Jeff\PSWorkItem.db
Created : 7/29/2022 9:59:59 AM
LastModified : 7/30/2022 11:20:17 AM
Size : 32768
TaskCount : 6
CategoryCount : 5
ArchiveCount : 6
Encoding : UTF-8
PageCount : 8
PageSize : 4096
There are additional properties.
The path to the PSWorkItem SQLite database file. It should end in .db
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: $PSWorkItemPath
Accept pipeline input: False
Accept wildcard characters: False
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/