Skip to content

Commit d9a83ad

Browse files
Create README.md
1 parent 07760ce commit d9a83ad

File tree

1 file changed

+37
-0
lines changed
  • Licensing/Export all assigned licenses and services provisioning statuses

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Short Powershell script to export user licenses and services' provisioning status.
2+
3+
4+
5+
The script is a variation on [Get user licenses and services' provisioning statuses](https://gallery.technet.microsoft.com/scriptcenter/Get-user-licenses-and-f20e5e42) . It accounts for the fact that one user may have more than one license assigned and creates records per given user's license.
6+
7+
That means that in the exported csv file, a user with 2 licenses will appear twice, like this:
8+
9+
<img src="../Export all assigned licenses and services provisioning statuses/images/Capture74.PNG">
10+
11+
## How to use?
12+
13+
1. Download and run the script.
14+
15+
2. During execution it will ask you for Office 365 Admin credentials
16+
17+
3. If you want to create a report on the users (apart from seeing the info on the screen also export data to a csv), there is a built-in function in the script, and you just need to update the following line:
18+
19+
20+
21+
```PowerShell
22+
$CSVPath="C:\Users\Arletka\Documents\usss34.csv"
23+
```
24+
25+
26+
## Expected results
27+
28+
29+
During script execution:
30+
31+
<img src="../Export all assigned licenses and services provisioning statuses/images/Capture73.PNG">
32+
33+
In a csv file:
34+
35+
<img src="../Export all assigned licenses and services provisioning statuses/images/Capture72.PNG">
36+
37+

0 commit comments

Comments
 (0)