【发布时间】:2015-07-14 01:58:49
【问题描述】:
当我调用一些天蓝色命令行开关时收到警告。 示例:
Get-AzureStorageAccount -StorageAccountName $storageName -ErrorAction SilentlyContinue -WarningAction SilentlyContinue -verbose:$false
New-AzureStorageAccount -StorageAccountName $storageName -Location $storageLocation -ErrorAction Stop -WarningAction SilentlyContinue -verbose:$false
警告:GeoReplicationEnabled 属性将在 Azure PowerShell 的未来版本中弃用。该值将合并到 AccountType 属性中。
请注意:我一直在使用 $verbose:False 来避免调用中出现此类消息。但无法阻止此WARNING的出现。
【问题讨论】:
标签: powershell azure azure-storage azure-powershell