Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Office 365 Who has What license

$
0
0

https://github.com/Deathjam/Powershell-Scripts/blob/master/365-license-check.ps1

A simple WPF app that shows a list box of licenses, columns ( AccountSkuId, ActiveUnits, ConsumedUnits, Remaining )

Remaining is ActiveUnits – ConsumedUnits
Clicking the license row fills the datagrid below with users that have (at least) that license.

2 export to csv buttons, date stamped csv of licenses in documents folder
* Export Licenses ( Office365_licenses_yyyy-MM-dd-hh-mm.csv )
* Export Users with licenses ( Users_with_licenses_yyyy-MM-dd-hh-mm.csv )

Date format is changeable at top of script
$date = (Get-Date -Format yyyy-MM-dd-hh-mm)

submitted by /u/deathjam
[link] [comments]

The post Office 365 Who has What license appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Latest Images

Trending Articles



Latest Images