• Microsoft Active Directory Documentation Script Update Version 2.22

    February 14, 2019

    Active Directory, PowerShell

    #Version 2.22 released 14-Feb-2019

    • Added a line under the OU table stating how many OUs are not protected
    • Added color $wdColorYellow
    • Added Exchange schema version 17000 for Exchange 2019
    • Added to the “Gathering user misc data” section, the following console message if there are more than 100,000 user accounts in AD:
      • There are $($UsersCount) user accounts to process. The following 17 actions will take a long time. Be patient.
    • Changed section heading “Domain trusts” to “Domain Trusts” to match the capitalization of other sections
    • Changed several $Var -eq $Null to $Null -eq $Var and on Get-Process line for WinWord (thanks to MBS)
    • Changed test for “No Certification Authority Root(s) were retrieved” by Michael B. Smith who contributed the original code
    • For HTML and Text output, for Heading1 and Heading2 output, added “/// ” and ” \\\” surrounding the heading text
      • This will help for those of us who read reports that contain > 100,000 OUs and users and > 1,000 GPOs
    • Removed “Preview” from Windows Server 2019 AD Schema version 88
    • Remove unused variables
    • Updated help text

    You can always find the most current script by going to https://carlwebster.com/where-to-get-copies-of-the-documentation-scripts/

    Thanks

    Webster







    About Carl Webster

    Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

    View all posts by Carl Webster

    4 Responses to “Microsoft Active Directory Documentation Script Update Version 2.22”

    1. Peter Johnson Says:

      Hi Carl

      Sorry no. I didn’t run the report and all I have is the HTML output..

      I might be able to get the guys to rerun it with the text option but it’s a large environment and has some pretty intense change control processes even just to run a report.. So I was looking for a quick way to extract the tables into a collection of CSV files..

      Reply

    2. Peter Johnson Says:

      Hi Carl

      Really fantastic work with this. I’m trying to get the resultant HTML imported, or at least the tables in into PowerBI to do some funky reporting… Do you have any ideas on an approach.

      PowerBI itself bleats that the html requires activescripting on which I’ve tried with no luck.

      If I could get it converted to JSON or XML I would be golden, I think.

      Once great work..

      Reply

    Leave a Reply