Previous Topic: User Management CommandsNext Topic: Edit-NetworkMapping – Map Network Adapters to the Master and Replica


Clean-VMResource – Clean VM Resource on a Virtual Platform

The Clean-VMResource command enables you to clean virtual machine resources on a virtual platform. If you enter a replica host, the VM resources of the replica are cleaned. When you do not enter the Host parameter, all VM resources in a virtual platform are cleaned.

Syntax
Clean-VMResource - Clean vm resource on virtual platform
Parameters
Name

The name of the scenario.

Host

The replica host in the scenario.

Example: Clean all resources

Clean-VMResource FULL 9.181.130.64
Outcome
VM Resources deleted successfully.