[英]Running Azure Powershell Inline Script
我有一個 powershell 腳本來備份 SQL 數據庫。 I run the script locally, i run the script on TFS release phase with Powershell Script (not the azure powershell task), and everything went well.
現在,我希望它使用Azure PowerShell script: InlineScript
因為我想從我的 powershell 中刪除登錄部分。 我將用戶名\密碼保存在變量中以便登錄,我想擺脫它
這是腳本:
請注意,由於錯誤,我輸入了Login-AzureRmAccount
。 在此之后,我仍然得到它。
錯誤信息:
如上所述,請將下拉菜單更改為“Azure 資源管理器”,因為在 Azure 經典中,此命令將轉換為 Start-AzureSqlDatabaseCopy,它沒有所有可用選項
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.