protected override void ProcessRecord() { WriteObject(OperationalInsightsClient.GetPurgeWorkspaceStatus(ResourceGroupName, WorkspaceName, PurgeId)); }