系列

2018年3月29日 星期四

如何設定預設 Azure 訂用帳戶


  1. 在 Azure PowerShell 主控台或 Windows PowerShell ISE 中,輸入下列命令,將您的 Azure 帳戶新增到本機的 PowerShell 環境:
    Add-AzureAccount
  2. 在 [登入 Microsoft Azure] 視窗中,輸入與您的帳戶相關聯的電子郵件地址和密碼。Azure 會驗證並儲存認證資訊,然後關閉視窗。
  3. 接著,執行下列命令以檢視本機 PowerShell 環境的 Azure 帳戶,並確認您的帳戶已列出:
    Get-AzureAccount
  4. 然後,執行下列 Cmdlet 可檢視已連接到本機 PowerShell 工作階段的所有訂用帳戶,並確認您的訂用帳戶已列出:
    Get-AzureSubscription | Format-Table SubscriptionName, IsDefault, IsCurrent, CurrentStorageAccountName
  5. 若要設定預設 Azure 訂用帳戶,請執行 Select-azuresubscription Cmdlet:
    Copy
    $SubscriptionName = 'Your subscription Name'Select-AzureSubscription -SubscriptionName $SubscriptionName Default
  6. 執行 Get-azuresubscription Cmdlet 來確認預設訂用帳戶的名稱:
    Get-AzureSubscription -Default
  7. 若要查看 Azure 儲存體的所有可用 PowerShell Cmdlet,請執行:
    Get-Command -Module Azure -Noun *Storage*



1 則留言:

  1. We hope that 우리카지노 the information offered on this article can provide deeper perception into the variations between social players and on-line gamblers. Whether or not firms will efficiently bridge these two fields is yet to be seen. In on-line playing, players play through a downloaded PC app or on internet site}. In order to work together with the sport, the participant has to particularly go to play, or to receive an e mail reminding him about the sport. In other phrases, the sport is “out of sight, out of mind” more often than not}.

    回覆刪除