WPNinjas HeaderWPNinjas Header

Updated Automatic Intune documentation

The Intune documentation script is now updated and includes the documentation of Application Configurations, PowerShell Scripts and a new documentation design. Additionally, I did various testing’s and fixed some smaller bugs.

Device Management Scripts / PowerShell Scripts

In a Windows 10 deployment the PowerShell Script feature helps to simplify a lot of the configuration tasks. With the new version these scripts are also documented in the new version. Currently also the script itself is added to the documentation. I know this can add a lot of additional pages, but currently I think this is really helpful to see if there are also changes in the scripts itself. Just let me know if you think differently.

Application Configuration

More and more applications support automatic configuration settings. Therefore, I added also this configuration data to the documentation.

Design

In various conversations I got the feedback, that the created file should have a better design. Now, I created a template file which adds a cover page, table of contents and header and footer for the whole document.

You can also create your own template and save it as Template.docx in the same location were the script resides. Just take care of that you have the following styles available in the template:

  • Heading1
  • Heading2
  • Heading3

All content will be added to the end of the template.

Get started

You can find the most recent version on Github.

Since version 2.0.0 the Automatic Intune Documentation script is available in the PowerShell Gallery and therefore its much simpler to install and use it. You can just use these two commands:
Install-Module IntuneDocumentation
Invoke-IntuneDocumentation -FullDocumentationPath c:\temp\IntuneDoc.docx
Important: Before using the Script the first time, you have to ensure, that you have installed the Microsoft.Graph.Intune and PSWord Module. To do that, you have to start PowerShell as an Adminstrator and install them:
Install-Module Microsoft.Graph.Intune
Install-Module PSWord
Follow me

11 Comments

Ed Yong · September 16, 2020 at 22:22

Hi! Thanks for the script to generate the intune documentation is pretty handy!

I do have a question can we use the reverse engineer with this documentation generated?

What I mean is to use the word document to deploy another intune environment using this word document as a template? I am not sure whether is this possible? If so, can you give me any advice, please? Thank you!

    Thomas Kurth · September 20, 2020 at 17:09

    Hi Ed

    No, the documentation is one way. But there is a backup/Restore module which you can try: https://www.thelazyadministrator.com/2019/11/26/backup-and-restore-your-intune-configuration-using-powershell/

    But my personal opinion is that a restore of the configuration is always a little problematic, because if some properties changed in the API, then the restore will fail.

      Ed Chou · September 21, 2020 at 08:02

      Hey Thomas!

      Thank you for your kind response! The link you provided would be enough to analyse whether we are going to use that way or not! Much appreciated thank you!

Jor · November 9, 2020 at 20:51

Great work thanks, one question, what about app configuration (managed app) custom settings, all that comes up is just commas, is there some switch we need to use in order to get those details? thanks.

    Thomas Kurth · January 1, 2021 at 15:23

    Hello Jor, sorry just saw now the comment. Normally it should document everything correctly. If still not, can you please provide me more details about your app configuration?

Michele · November 17, 2020 at 08:06

Thanks, guys, this is pretty cool.

Ankur · June 9, 2021 at 14:15

Sir when you get time kindly update the script to capture all Windows Applications aswell ,

Its not capturing all Windows App (win32) , Windows MSI line of business app , i compared manually many missing

    Thomas Kurth · June 13, 2021 at 08:30

    I added this as a feedback on Github. I have to check it looks like sometimes Graph returns characters which cannot be printed to Word. I assume if you would export a JSON file the app is there? Is that correct?

PW · December 12, 2021 at 23:26

Thanks for this tool.

How do I change the the design template, when I installed the tool using the Install-Module IntuneDocumentation command?

Terje · January 15, 2024 at 17:31

Hello is this up to date?

    Thomas Kurth · January 16, 2024 at 10:54

    Yes, M365Documentation still works.

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.