Remove-WBCatalog

Remove-WBCatalog

Removes the backup catalog from the local computer.

構文

Parameter Set: Default
Remove-WBCatalog [[-Force]] [ <CommonParameters>]

詳細説明

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.

パラメーター

-Force

Indicates that the cmdlet removes the catalog without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • SwitchParameter

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

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • System.String

    String that indicates that the cmdlet has deleted the catalog.

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

関連トピック

Restore-WBCatalog