The Remove-Repository
PowerShell command deletes a Rapid Recovery repository and its contents from the Core.
Usage
The usage for the command is as follows:
Remove-Repository -core [host name] -user [login] -password [password] -name [repository name] -all
Command Options
The following table describes the options available for the Remove-Repository
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. |
-name |
The name of the repository that you want to delete. |
-all |
Delete all repositories associated with this Core. |
Example:
Remove all repositories on the local Core:
>Remove-repository -all