Microsoft Active Directory Documentation Script V3.07

Version 3.07 11-Sep-2021

  • Added array error checking for non-empty arrays before attempting to create the Word table for most Word tables
  • Added Function OutputReportFooter
  • Added Parameter ReportFooter
    • Outputs a footer section at the end of the report.
    • Report Footer
      • Report information:
        • Created with: <Script Name> – Release Date: <Script Release Date>
        • Started on <Date Time in Local Format>
        • Elapsed time: nn days, nn hours, nn minutes, nn.nn seconds
        • Ran from domain <Domain Name> by user <Username>
        • Ran from the folder <Folder Name>
  • Updated Function OutputADFileLocations to better report on the SYSVOL state. Code supplied by Michael B. Smith.
  • Updated Function ProcessgGPOsByOUOld to allow Word table output to handle GPOs that somehow PowerShell thinks are arrays
  • Updated Functions SaveandCloseTextDocument and SaveandCloseHTMLDocument to add a “Report Complete” line
  • Updated Functions ShowScriptOptions and ProcessScriptEnd to add $ReportFooter
  • Updated the help text
  • Updated the ReadMe file

Thanks to fellow CTP Thomas Krampe for the push to add the report footer.

If you run the script in a multiple domain forest or have Read-only Domain Controller appliances and have questions or issues, please email me. webster at carlwebster dot com.

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

Thanks

Webster