Azure 계정 연결 추가 (w/ PowerShell)

  • azureking
    (아주라)
  • azureking's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
더보기
03 Apr 2017 16:37 - 03 Apr 2017 16:37 #2005 작성자: azureking
azureking 님의 글: Azure 계정 연결 추가 (w/ PowerShell)
1.
PS C:\Users\azureking> $cred = Get-Credential

cmdlet Get-Credential(명령 파이프라인 위치 1)
다음 매개 변수에 대한 값을 제공하십시오.
Credential

2.
PS C:\Users\azureking> Add-AzureAccount -Credential $cred

Id                                            Type Subscriptions                        Tenants
--                                            ---- -------------                        -------
admin@xyzxyzxyzxyzoutlook.onmicrosoft.com     User abcd1234-0687-484a-810c-xyzxyzxyzxyz{abcd1234-aabf-4d78-999a-1a7...


3.
PS C:\Users\azureking> Login-AzureRmAccount -Credential $cred


Environment           : AzureCloud
Account               : admin@xyzxyzxyzxyzoutlook.onmicrosoft.com
TenantId              : abcd1234-aabf-4d78-999a-xyzxyzxyzxyz
SubscriptionId        : abcd1234-0687-484a-810c-xyzxyzxyzxyz
SubscriptionName      : Azure Pass
CurrentStorageAccount :
Time to create page: 0.104 seconds
Powered by Kunena Forum