public override void ExecuteCmdlet()
{
try
{
this.WriteWarningWithTimestamp(
string.Format(
Properties.Resources.CmdletWillBeDeprecatedSoon,
this.MyInvocation.MyCommand.Name));
switch (this.ParameterSetName)
{
case ASRParameterSets.ByRPObject:
this.Id = this.RecoveryPlan.ID;
break;
case ASRParameterSets.ById:
break;
}
this.GetRecoveryPlanFile();
}
catch (Exception exception)
{
this.HandleException(exception);
}
}