azure-powershell
azure-powershell copied to clipboard
ErrorAction switch does not work with Get-AzureStorageContainer
Until I used the newer version the below command used to work as expected:
If(!(Get-AzureStorageContainer -Name $DestinationContainer -Context $desContext -ErrorAction SilentlyContinue)){New-AzureStorageContainer -Name $DestinationContainer -Context $desContext}
But with the newer version ErrorAction switch does not work.
@Vijayaraghavanl Slated to be fixed in the next release [#108479296] . You can follow progress here: https://www.pivotaltracker.com/story/show/108479296
This has been fixed in the latest release. All set now!! Closing this issue.