The Get-MsolSubscription cmdlet in Powershell gets subscriptions for the company in Microsoft Office 365.
The syntax to get all the subscriptions that the company has purchased is given below.
Get-MsolSubscription
-SubscriptionId <Guid>
[-TenantId <Guid>]
[<CommonParameters>]
In this article, we will discuss how to use the Get-MsolSubscription cmdlet in PowerShell to get a list of subscriptions for the company in Azure Active Directory.
How to Get a List of Company Subscriptions
To get a list of company subscriptions in Office 365, use the Get-MsolSubscription command in PowerShell.
Get-MsolSubscription
This command gets a list of company subscriptions.
Cool Tip: How to use the Get-MsolAccountSku cmdlet for license assignment!
Conclusion
I hope the above article on how to use the Get-MsolSubscription cmdlet in PowerShell to retrieve the subscription of a company is helpful to you.
You can find more topics about PowerShell Active Directory commands and PowerShell basics on the ShellGeek home page.