> ## Content Index
> Fetch the complete content index at: https://codeisahighway.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to quickly retrieve your Azure subscription consumptions/limits (extended details) in PowerShell
- URL: https://codeisahighway.com/how-to-retrieve-your-azure-subscription-limits-extended-details-in-powershell/
- Published: 2015-05-03T23:19:11.000Z
- Updated: 2026-08-10T07:12:23.000Z
- Author: Stephane Lapointe
- Tags: PowerShell, DevOps, Microsoft Azure, #Import 2023-07-11 16:44, #Import 2026-09-04 10:31, #Import 2026-09-04 13:56

Everytime that I needed to take a look at where I stand up from the limits of an Azure subscription I do the same thing... Open my web browser, go to the management portal and browse between my storage accounts, cloud services, etc...

Here is a quick way in PowerShell to get that information without leaving your blue and white PowerShell console window. Use the **\-ExtendedDetails** switch when calling the Get-AzureSubscription cmdlet.

To get the details of your current subscription

```
Get-AzureSubscription -Current -ExtendedDetails

```

or to get the details for all your subscriptions

```
Get-AzureSubscription -ExtendedDetails

```

This will give you this kind of informations

```
ActiveDirectoryUserId      : someone@server.com
Account                    : Microsoft.Azure.Common.Authentication.Models.AzureAccount
Certificate                :
AccountAdminLiveEmailId    : someone@server.com
CurrentCoreCount           : 2
CurrentHostedServices      : 2
CurrentDnsServers          : 0
CurrentLocalNetworkSites   : 0
CurrentVirtualNetworkSites : 2
CurrentStorageAccounts     : 5
MaxCoreCount               : 20
MaxDnsServers              : 20
MaxHostedServices          : 20
MaxLocalNetworkSites       : 20
MaxVirtualNetworkSites     : 50
MaxStorageAccounts         : 100
ServiceAdminLiveEmailId    : someone@server.com
SubscriptionRealName       : Visual Studio Ultimate with MSDN
SubscriptionStatus         : Active
OperationDescription       :
OperationId                :
OperationStatus            :
ServiceEndpoint            : https://management.core.windows.net/
ResourceManagerEndpoint    : https://management.azure.com/
GalleryEndpoint            :
SubscriptionId             : 00000000-0000-0000-0000-000000000000
SubscriptionName           : Visual Studio Ultimate with MSDN
Environment                :
SupportedModes             : AzureServiceManagement,AzureResourceManager
DefaultAccount             :
Accounts                   : {someone@server.com, someone2@server.com}
IsDefault                  : True
IsCurrent                  : True
CurrentStorageAccountName  : mycurrentstorage
TenantId                   :

```

Happy automation with Azure and PowerShell!