Get-WssBackupJob
Get-WssBackupJob
Gets the status of current or previous backup jobs.
Sintaxis
Parameter Set: Default
Get-WssBackupJob [[-JobCount] <UInt32> ] [ <CommonParameters>]
Descripción detallada
The Get-WssBackupJob cmdlet gets the status of current or previous backup jobs.
Parámetros
-JobCount<UInt32>
Specifies how many past backup jobs to retrieve.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupJob
This cmdlet returns the backup jobs retrieved.
Ejemplos
Example 1: Get status past backup jobs
This command gets the status of the previous 10 backup jobs and stores the status in the variable named $ContosoBUJobs11.
PS C:\> $ContosoBUJobs11 = Get-WssBackupJob -JobCount 10