How do i list the azure contexts available?
-
Microsoft documentation: https://docs.microsoft.com/en-us/powershell/azure/context-persistence?view=azps-3.1.0
Note: Azure contexts hold subscription and authentication information, if you have multiple Azure subscriptions, this is how to choose to which one to work with. Important, the contexts you have may not necessarily be the subscriptions you hold. Azure contexts are locally store information.
PS /home/training> get-azcontext -listavailable Name Account Subscript Environme TenantId ionName nt ---- ------- --------- --------- -------- Engineering (1d861add-b3e5-47d8-er49-599… linx… Enginee… AzureClo… 9a4833d…
© Lightnetics 2024