Get-WssBackupJob
Gets the status of current or previous backup jobs.
Syntax
Get-WssBackupJob
[[-JobCount] <UInt32>]
[<CommonParameters>]
Description
The Get-WssBackupJob cmdlet gets the status of current or previous backup jobs.
Examples
Example 1: Get status past backup jobs
PS C:\> $ContosoBUJobs11 = Get-WssBackupJob -JobCount 10
This command gets the status of the previous 10 backup jobs and stores the status in the variable named $ContosoBUJobs11.
Parameters
-JobCount
Specifies how many past backup jobs to retrieve.
Type: | UInt32 |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupJob
This cmdlet returns the backup jobs retrieved.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for