Previous Topic: Discard-AllPendingRuntimeChangeableScenarioPropertiesNext Topic: Get-AllPendingRuntimeChangeableScenarioProperties


Discard-RuntimeChangeableScenarioProperties

The Discard-RuntimeChangeableScenarioProperties command lets you cancel any changes made on the specified running scenario.

Syntax
Discard-RuntimeChangeableScenarioProperties [Name]
Parameters

Name - This is the name of the running scenario for which you wish to discard changes.

Example

If you have made numerous changes to a running scenario called FileServer and discover problems, use the following command to set the scenario back to all original values:

Discard-RuntimeChangeableScenarioProperties FileServer
Outcome

All changes made to the scenario called FileServer are reset back to their original values.

If you wish to set only a specific property back to its original value, use the Set-RuntimeChangeableScenarioProperties command to change only the specified property for the running scenario. Note that when you have discarded changes, all records in the Get-AllPendingRuntimeChangeableScenarioProperties list are deleted. Running Apply-PendingRuntimeChangeableScenarioProperties results in a warning message that the specified scenario was not changed at run time.