public override void ExecuteCmdlet() { if (string.IsNullOrEmpty(Name)) { WriteObject(DataLakeAnalyticsClient.ListComputePolicy(ResourceGroupName, Account), true); } else { WriteObject(DataLakeAnalyticsClient.GetComputePolicy(ResourceGroupName, Account, Name)); } }