• Microsoft Active Directory Health Check PowerShell Script Version 2.08

    April 28, 2020

    Active Directory, PowerShell

    #Version 2.08 8-May-2020

    • Add checking for a Word version of 0, which indicates the Office installation needs repairing
    • Change color variables $wdColorGray15 and $wdColorGray05 from [long] to [int]
    • Change location of the -Dev, -Log, and -ScriptInfo output files from the script folder to the -Folder location (Thanks to Guy Leech for the “suggestion”)
    • Reformatted the terminating Write-Error messages to make them more visible and readable in the console
    • Update Function SetWordCellFormat to change parameter $BackgroundColor to [int]

    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

    Carl Webster is an independent consultant specializing in Citrix, Active Directory, and technical documentation. Carl (aka “Webster”) serves the broader Citrix community by writing articles (see CarlWebster.com) and by being the most active person in the Citrix Zone on Experts Exchange. Webster has a long history in the IT industry beginning with mainframes in 1977, PCs and application development in 1986, and network engineering in 2001. He has worked with Citrix products since 1990 with the premiere of their first product – the MULTIUSER OS/2.

    View all posts by Carl Webster

    8 Responses to “Microsoft Active Directory Health Check PowerShell Script Version 2.08”

    1. Chad Hammond Says:

      I have a question. Is it possible to report on only one domain in the forest? It appears what I am seeing the requirement is to report on all domain within the forest?

      Correct?

      Reply

      • Carl Webster Says:

        The original script author did not add a way to restrict the script to a single domain. Sorry.

        Webster

        Reply

    2. Carlos Says:

      Gracias!!, estoy script son muy utiles y me han ayudado bastante, sin embargo ¿seria posible que se haga algún ajuste para que no requiera tener Word installado?

      Mil gracias.

      Carlos

      Reply

      • Carl Webster Says:

        I had to use Google Translate to figure out what you said.

        The original script author never added HTML or Text output options. I have no plans to add those to this script. Sorry.

        Webster

        Reply

    3. MHelal Says:

      Hello Carl, Thanks for all of your efforts.
      when I got through the download link it give me invalid link error.

      Reply

      • Carl Webster Says:

        The links were not supposed to expire. I assume there was an update to ShareFile that reset all my links as you are not the first to report a dead link. I will go through and check the links to every download.

        Thanks for letting me know.

        Webster

        Reply

    4. Rod Biagtan Says:

      Hi,
      First, thank you for taking the time and effort to put this script together. Does this script support the Office 365 Word version?

      I’m getting an error message at the very end when trying to create the document. The error message is “Unable to save the output file, c:\[path]\ADHealthCheck_v2_Signed.ps1:4306 char:1.

      I have sufficient disk space and i’m able to use your other script, ADDS_Inventory_V3_Signed.ps1, just fine to create a Word doc output.

      Thanks,
      Rod

      Reply

      • Carl Webster Says:

        The vast majority of times, the fix for this issue is to do a full online repair of Office. Because Office has no PowerShell cmdlets, I have to use COMObjects and they are a PITA to work with.

        The author of that script only provided Word output. I don’t use that script, so I have not taken the time to add HTML and Text output options.

        Thanks

        Webster

        Reply

    Leave a Reply