Display Available User Licenses

Scenario/Problem: You need to determine which licenses are available for mapping purposes.

Solution: Use the Get-SPUserLicense cmdlet without any parameters to retrieve the available user license types.

Listing 11.4. Displaying the Available User Licenses

Get-SPUserLicense

The Get-SPUserLicense cmdlet displays the available user licenses, as shown in Figure 11.2.

Image

Figure 11.2. The Get-SPUserLicensing cmdlet displays the available licenses.

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.