public override void ExecuteCmdlet() { if (Location != null && string.IsNullOrWhiteSpace(Location)) { throw new PSArgumentNullException("Location"); } WriteObject(StreamAnalyticsClient.GetQuotas(Location), true); } }