Get-WssBackupJob
Gets the status of current or previous backup jobs.
PowerShell
Get-WssBackupJob
[[-JobCount] <UInt32>]
[<CommonParameters>]
The Get-WssBackupJob cmdlet gets the status of current or previous backup jobs.
PowerShell
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.
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 |
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupJob
This cmdlet returns the backup jobs retrieved.