After being challenged by Jason on my previous script, I created the Get-ADMapObject script.

Running the script creates three functions:

  • Get-ADMapObject (which takes a string or array of strings of the AD object classes)
  • Get-ADObjectClassName (recurses through your Active Directory and returns the names of the object classes)
  • New-SourceTarget (to get the ADMapObjects into the format that Show-Netmap wants).

Before the script runs, it will check for the dependencies (Doug’s script and the NetMap dll’s) and advise you if there are any missing. I’d love some feedback!

download | copy to clipboard | new post



Leave a Comment

You must be logged in to post a comment.

blank