Scripts and Other Utilities

All current documentation scripts require PowerShell Version 3 or later and create a Microsoft Word 2010 or 2013 document.

Most documentation scripts have been updated to support Word 2016.

Most documentation scripts will also create formatted text and HTML output so Microsoft Word is not required.

*****All scripts perform best with PowerShell Version 5*****

Each documentation script has either six or seven parts:

  1. ReadMe file
  2. Change Log
  3. Unsigned script with PS1 extension
  4. Unsigned script with TXT extension
  5. Signed script with PS1 extension
  6. Signed script with TXT extension
  7. Sample Software Exclusions file with TXT extension (XenApp scripts only)
Filename DupeDNSV2.zip
Filesize 20 KB
Version 2.00 Previous versions
Date added July 31, 2016
Downloaded 658 times
Category Miscellaneous

Script provided by Michael B. Smith – Exchange MVP

## Michael B. Smith
## michael (at) TheEssentialExchange.com
## April, 2012
##
## Patched 2016-02-03
## If a computer had multiple IP addresses, the scanner would get confused and
## not properly populate the $objects array.
##

##
## Primary functionality:
##
## Based on either an input file or the output of a default command:
##
## dnscmd ( $env:LogonServer ).SubString( 2 ) /enumrecords $env:UserDnsDomain “@”
##
## Create an array containing all of the DNS objects describing the input.
##
## —-
##
## Secondary functionality:
##
## Find all the duplicate IP addresses and the duplicate names
## contained within either the file or the command output.
##
## By specifying the -skipRoot option, all records for the root of
## the domain are ignored.
##

## General record format returned by DNScmd.exe:
##
## name
## [aging:xxxxxxxx]
## TTL
## resource-record-type
## value
## [optional additional values]
##
## Fields may be separated by one-or-more spaces or one-or-more tabs
## [aging:xxxxxxxx] fields are optional
##