Microsoft Endpoint Manager Documentation and Export tool

I have just published a tool (PowerShell script) on github to create a comprehensive documentation of a tenant and also export all settings in JSON format that can also be used for importing settings again in the same tenant or even another. This can be very useful in a scenario where there is a DEV-tenant and then a production tenant to make sure the settings are the same in both.

The script and a more detailed documentation of how to use it can be found here:

The script makes use of a PowerShell module called "PSWriteWord" which enabled the creation of nice-looking word documents with TOC, tables, hyperlinks etc.

The script uses a word template to create the final documentation, this file can be customized by the user to suit their needs.

Word Template

The words "#TENANT#,#DATE#,#USERNAME#" are dynamically updated when the script is run.

Example of a TOC created by the script.

Each setting documented also includes where that specific object is assigned. It can also document who did the last change (optional). If export is enable it also includes a link to the exported JSON-file.

Example of a object documented. This is a device configuration.

If you find any bugs or have any requests please create an issue on the github page.

Hope you find it useful, if you do please let me know 🙂

Twitter: matbg

About the author

Mattias Benninge

0 0 votes
Article Rating
Notify of
Oldest Most Voted
Inline Feedbacks
View all comments
5 months ago

Hi Mattias,
Thank you!
This is very helpfull for documenting. Before I used to generate jsons and csv files from PS. But this is a mutch more complete solution

Cameron Ritchie
Cameron Ritchie
6 months ago

I've been waiting for someone that knows how to script this for a year. Legend! You have enabled us techs to work and tick off the documentation aspect with a quicker turn around.

Last edited 6 months ago by Cameron Ritchie
1 year ago

This is so cool , Great Job Matt !!!

1 year ago

This looks really great. I can see us definitely utilizing something like this in the future. Great job!

Martin Denis Caddick
Martin Denis Caddick
1 year ago

Awesome work Matt.
I was looking at this and planning on extending it by creating a button that would use PSWriteWord to create word docs as well. May be something in there that you can use. Cheers