Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
89 lines (66 sloc) 2.55 KB
ms.mktglfcycl ms.sitesec ms.author author description external help file keywords manager ms.date ms.prod ms.technology ms.topic online version schema title ms.assetid
manage
library
coreyp
coreyp-at-msft
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
wsbcmdlet.dll-Help.xml
powershell, cmdlet
jasgro
12/27/2016
w10
powershell-windows
reference
2.0.0
Remove-WBCatalog
88E64DC6-0DA0-4ABA-B686-B7EA5F6B0BF4

Remove-WBCatalog

SYNOPSIS

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
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

SwitchParameter

You can specify the Force parameter to suppress the confirmation message for the cmdlet.

OUTPUTS

System.String

This cmdlet returns a string that indicates that the cmdlet has removed the catalog.

NOTES

RELATED LINKS

Restore-WBCatalog