...
Code Block |
---|
PS C:\Users\ops> Install-Module -Name AzureRM -AllowClobber
# if for some reason the above command is not working( connection error )
# then run the following command and retry
# [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
PS C:\Users\ops> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
PS C:\Users\ops> Import-Module Azure.Storage
PS C:\Users\ops> $ctx = New-AzureStorageContext -StorageAccountName <storagename> -StorageAccountKey <key>
PS C:\Users\ops> Update-AzureStorageServiceProperty -ServiceType Blob -DefaultServiceVersion 2014-02-14 -Context $ctx |