The Remove-Agent
PowerShell command lets you remove a machine from Rapid Recovery Core protection.
Usage
The usage for the command is as follows:
Remove-Agent -core [host name] -user [login] -password [password] -protectedserver [name | IP address] -deleterecoverypoints -all
Command Options
The following table describes the options available for the Remove-MountAgent
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. |
-protectedserver |
Dismount all mounted recovery points for the current protected machine. |
-deleterecoverypoints |
Optional. Delete all recovery points for this protected machine. |
-all |
Optional. Delete all protected machines from the Core. |
Example:
Dismount all protected machines and their recovery points:
>Remove-Agent -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd -deleterecoverypoints -all