I'm trying to run a powershell command to list the blobs in a container. I found this command and modified it as needed:
$ctx = New-AzureStorageContext -StorageAccountName [name].blob.core.usgovcloudapi.net -StorageAccountKey [key] Get-AzureStorageContainer -Context $ctx
The following error is returned - Get-AzureStorageContainer : The remote name could not be resolved: '.blob.core.usgovcloudapi.net.blob.core.windows.net'
I don't understand why powershell is appending the cloudapi.net.blob.core.windows.net. Is there a way to force powershell not to do this? As you can tell im working with Azure Government.