• Microsoft DNS Documentation Script Update Version 1.20

    February 13, 2020

    DNS, PowerShell

    I do a lot of detailed Active Directory (AD) assessments for companies all over the United States. A common issue is broken replication. When replication is broken, it is possible that not all Microsoft AD-Integrated DNS servers have the same configuration or data. This issue was the impetus for this update to the DNS documentation script.

    A while back, for the DHCP documentation script, I added a -AllDHCPServers parameter at the request of the community. This DNS script update includes an -AllDNSServers parameter. Adding this parameter was a lot more work than I thought it would be. At least now, I can run the script once instead of numerous times.

    #Version 1.20 13-Feb-2020

    • Added -AllDNSServers (ALL) parameter to process all AD DNS servers that are online
      • Added text file (BadDNSServers_yyyy-MM-dd_HHmm.txt) of the AD DNS servers that are either offline or no longer have DNS installed
    • Added a new Function TestComputerName2 to support the -AllDNSServers parameter
    • Added the DNS server name to the section title for the DNS server
    • Fix Swedish Table of Contents (Thanks to Johan Kallio)
      • From
        • ‘sv-‘ { ‘Automatisk innehållsförteckning2’; Break }
      • To
        • ‘sv-‘ { ‘Automatisk innehållsförteckn2’; Break }
    • General code cleanup
    • The following functions were updated to support the -AllDNSServers parameter:
      • ProcessDNSServer
      • OutputDNSServer
      • ProcessForwardLookupZones
      • OutputLookupZone
      • ProcessLookupZoneDetails
      • ProcessTrustPoints
      • ShowScriptOptions
      • ProcessScriptStart
      • ProcessScriptEnd
    • Updated Function CheckWordPrereq to match the other scripts
    • Updated the 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. Infrastructure Consultant for Conversant Group 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

    No comments yet.

    Leave a Reply