< # .SYNOPSIS Shows use of GetCurrentDomain to return information about the domain .DESCRIPTION Uses system.directoryservices.activedirectory.domain and GetCurrentDomain to return domain information ...
# Get-FSMOHolders.ps1 # Gets the names of the systems holding the 5 FSMO holders # Runs on a domain-joined machine # Thomas Lee - tfl@psp.co.uk # Get host,forest and domain details $Hostname = hostname $forest = [DirectoryServices.ActiveDirectory...