Remove-WBCatalog
Removes the backup catalog from the local computer.
Syntax
Remove-WBCatalog
[-Force]
[<CommonParameters>]
Description
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.
Examples
Example 1: Remove a backup catalog
PS C:\> Remove-WBCatalog
Warning
Are you sure that you want to delete the backup catalog? If you delete the
catalog, you will need to create a new set of backups.
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
The backup catalog has been successfully deleted.
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.
Parameters
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기