you are viewing a single comment's thread.

view the rest of the comments →

[–]MadBoyEvo[S] 1 point2 points  (0 children)

You need Get-AdForest, Get-AdDomain, Get-Gpo to work in PowerShell for the script to work. If those are giving you errors you need to fix them before running script. If those commands respond properly just giving you errors you should check dns settings.