简体   繁体   中英

Azure Get Certificate in Power Shell

Trying to list all the certificates in my account.

When using Get-AzureCertificate , it complains I need to select default subscription with Select-AzureSubscription . But no subscription can be selected with Select-AzureSubscription ,
I can only select subscription with Select-AzureRmSubscription . But this Get-AzureCertificate needs Select-AzureSubscription .

How do I list all certificates in my Azure with PowerShell?

Did you log in to an ASM subscription? Looks like you have logged in using Add-AzureRMAccount or Login-AzureRMAccount. Use Add-AzureAccount instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM