Display All License Mappings

Scenario/Problem: You need to review a list of added license mappings.

Solution: Use the Get-SPUserLicenseMapping cmdlet without any parameters.

You might need to see all license mappings that have been created or retrieve the identity of a specific license mapping. Use the Get-SPUserLicenseMapping cmdlet without any parameters, as shown in Listing 11.7, to retrieve a listing of all license mappings.

Listing 11.7. Displaying All License Mappings

Get-SPUserLicenseMapping

Use the optional -WebApplication parameter to view only mappings associated with a particular web application.

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.