I think we have code similar to that in the [StoreClient](https://github.com/Azure/azure-sdk-tools/blob/cf1cb3e13c660e05fa4ce8babbd27c0f530e03b3/WindowsAzurePowershell/src/Commands.Utilities/Store/StoreClient.cs#L64), could you please refactor that in some convenience client for CloudService (maybe along with EnsureCloudServiceExist, etc...) so we can reuse that over multiple places?