Remove-WBCatalog
Remove-WBCatalog
Removes the backup catalog from the local computer.
Sintaxis
Parameter Set: Default
Remove-WBCatalog [[-Force]] [ <CommonParameters>]
Descripción detallada
The Remove-WBCatalog cmdlet removes the backup catalog from the local computer. Use this cmdlet when the backup catalog is corrupted and you cannot restore it by using the Restore-WBCatalog cmdlet.
If you remove the backup catalog for a computer, you cannot access the backups of that computer by using Windows Server Backup. In this case, if you can access another backup location, use Restore-WBCatalog to restore the backup catalog from that location, and then create a new backup from that backup catalog.
Parámetros
-Force
Indicates that the cmdlet removes the catalog without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.
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.
SwitchParameter
You can specify the Force parameter to suppress the confirmation message for the cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
System.String
String that indicates that the cmdlet has deleted the catalog.
Ejemplos
Example 1: Remove a backup catalog
This command removes the backup catalog. Because the command does not include the Force parameter, the command asks for confirmation before it removes the catalog.
PS C:\> Remove-WBCatalog