簡體   English   中英

Get-AzurePublishSettingFile:無法識別術語“Get-AzurePublishSettingFile”

[英]Get-AzurePublishSettingFile : The term 'Get-AzurePublishSettingFile' is not recognized

我嘗試通過帶有 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
  •  + CategoryInfo: ObjectNotFound: (Get-AzurePublishSettingFile:String) [], CommandNotFoundException + FullyQualifiedErrorId: CommandNotFoundException

確保您已安裝 ASM PowerShell 模塊Azure ,我注意到您在命令中錯過了一個s ,它應該是Get-AzurePublishSettingsFile ,而不是Get-AzurePublishSettingFile

參考 - https://docs.microsoft.com/en-us/powershell/module/servicemanagement/azure.service/get-azurepublishsettingsfile?view=azuresmps-4.0.0

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM