List Windows Azure Pack Plan using PowerShell

List Windows Azure Pack Plan using PowerShell

List Windows Azure Pack Plan using PowerShell

Windows Azure Pack allows you to create multiple Plans that users can subscribe to. Each Plan may contain different quotas or templates that you want your end customers to subscribe.

You need to first enter the credential that has access to Windows Azure Pack Admin Site. This is same credential that you use when accessing Windows Azure Pack Admin Site:

$cred = Get-Credential

$token = Get-MgmtSvcToken -Type Windows -AuthenticationSite <WAP-Admin-Portal-Auth-URL:port> -ClientRealm 'http://azureservices/AdminSite' -DisableCertificateValidation -User $cred
Please note that “ClientRealm” parameter in above command is http and not https

 

WAP-Plan-1

Once the Token is generated, then you pass the token to Get-MgmtSvcPlan to see the list of plans in the environment.

Get-MgmtSvcPlan -Token $token -AdminUri <WAP-Admin-API-URL:Port> -DisableCertificateValidation

 

WAP-Plan-2

As you would see above, I have 37 Windows Azure Pack Plans in my environment.

About The Author

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *