external help file | Module Name | online version | schema |
---|---|---|---|
M365.Report.Tools-help.xml |
M365.Report.Tools |
2.0.0 |
Get a list of every user and their assigned licenses
Get-M365UserLicenseReport [<CommonParameters>]
This report with generate a list of every user and each license assigned to that user for easy export.
PS C:\> Get-M365UserLicenseReport | Export-Excel -path C:\Reports\MasterReport.xlsx -Worksheetname UserLicenseReport -Tablename UserLicenses
Export the user licese report to the excel workbook MasterReport.xlsx by piping to Export-Excel
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.