有没有办法使用Powershell更改Azure容器注册表管理员密码?

有没有办法使用Powershell更改Azure容器注册表管理员密码?,azure,azure-powershell,azure-cli,azure-container-registry,Azure,Azure Powershell,Azure Cli,Azure Container Registry,我正在尝试使用Powershell自动化更改Azure容器注册表管理员密码的过程。我知道您可以通过以下方式使用Azure CLI完成此操作: az acr凭证续订--名称--密码名称密码 我只是找不到等效的Powershell命令。您需要使用 更新AzureRmContainerRegistryCredential [-ResourceGroupName] [-姓名] -密码名 [-DefaultProfile] [-WhatIf] [-确认] [] Update-AzureRmContain

我正在尝试使用Powershell自动化更改Azure容器注册表管理员密码的过程。我知道您可以通过以下方式使用Azure CLI完成此操作:

az acr凭证续订--名称--密码名称密码

我只是找不到等效的Powershell命令。

您需要使用

更新AzureRmContainerRegistryCredential
[-ResourceGroupName]
[-姓名]
-密码名
[-DefaultProfile]
[-WhatIf]
[-确认]
[]
Update-AzureRmContainerRegistryCredential
      [-ResourceGroupName] <String>
      [-Name] <String>
      -PasswordName <PasswordName>
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]