public override void ExecuteCmdlet() { GetPSResourceGroupLogParameters parameters = new GetPSResourceGroupLogParameters { Name = Name, DeploymentName = DeploymentName, All = All.IsPresent }; WriteObject(ResourcesClient.GetResourceGroupLogs(parameters), true); }