亲爱的
我想知道如何获取特定资源的所有参数,“获取”命令无法获取所有详细信息!
例如,我需要获取此公共IP地址的IP
Get-AzResource -Name "PubIP"
Name : PubIP
ResourceGroupName : RG1
ResourceType : Microsoft.Network/publicIPAddresses
Location : centralus
ResourceId : /subscriptions/xxxxxx/Microsoft.Network/publicIPAddresses/PubIP
我尝试过
Get-AzResource -Name "PubIP" | Where-Object { $_.Scope -contains 'address' }
但是也没有用!
答案 0 :(得分:1)