Get-AzurePublishSettingFile:术语';获取AzurePublishSettingFile';不被承认

Get-AzurePublishSettingFile:术语';获取AzurePublishSettingFile';不被承认,azure,powershell,azure-powershell,cmdlet,azureshell,Azure,Powershell,Azure Powershell,Cmdlet,Azureshell,我已尝试通过AllowClobber命令安装Azure和AZ cmdlet,并成功安装。我以管理员身份运行PowerShell,并已通过登录连接我的Azure帐户。但是,在运行命令“Get-AzurePublishSettingFile”时,会出现以下错误: Get-AzurePublishSettingFile : The term 'Get-AzurePublishSettingFile' is not recognized as the name of a cmdlet, function

我已尝试通过AllowClobber命令安装Azure和AZ cmdlet,并成功安装。我以管理员身份运行PowerShell,并已通过登录连接我的Azure帐户。但是,在运行命令“Get-AzurePublishSettingFile”时,会出现以下错误:

Get-AzurePublishSettingFile : The term 'Get-AzurePublishSettingFile' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
包括,请验证路径是否正确,然后重试。 第1行字符:1

  • 获取AzurePublishSettingFile

确保已安装ASM PowerShell模块,我注意到您的命令中缺少了一个
s
,它应该是
Get-AzurePublishSettingsFile
,而不是
Get-AzurePublishSettingFile


参考-

您好。谢谢你的回答。我应该把这个标记为解决了,哈哈,因为我意识到我像个白痴一样忘记了“s”。我花了这么长时间浏览网页哈哈。无论如何,非常感谢。这里的这个问题将有希望成为一个很好的参考,任何人都不知道他应该“设置”而不是“设置”
  + CategoryInfo          : ObjectNotFound: (Get-AzurePublishSettingFile:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException