public override void ExecuteCmdlet()
{
WriteWarning("The output object type of this cmdlet will be modified in a future release.");
// remove leading and trailing whitespaces
this.OperationSearchString = this.OperationSearchString.Trim();
ValidateActionSearchString(this.OperationSearchString);
List<PSResourceProviderOperation> operationsToDisplay;
if (this.OperationSearchString.Contains(WildCardCharacter))
{
operationsToDisplay = this.ProcessProviderOperationsWithWildCard(OperationSearchString);
}
else
{
operationsToDisplay = this.ProcessProviderOperationsWithoutWildCard(OperationSearchString);
}
this.WriteObject(operationsToDisplay, enumerateCollection: true);
}