Previous Topic: Remove-Replica - Remove a Replica Host from a ScenarioNext Topic: Rename-Group - Rename a Scenario Group


Remove-Scenario - Delete a Scenario

The Remove-Scenario command enables you to delete a given scenario. The command also deletes the related VM resources when the scenario is a Full System scenario.

Note: You cannot delete a running scenario.

Syntax
Remove-Scenario [-Name] <String> [[-DeleteVM] [<Boolean>]]
Parameters
Name

The name of the scenario you want to delete.

Delete_VM [<Boolean>]

Deletes all VM resources of a P2V scenario.

1 - Delete (Default)

0 - Do not delete

Example: Remove a scenario

remove-scenario "File Server 2"
Outcome
Scenario File Server 2 removed