Get-DomainModeEnumValues.ps1

by Dec 19, 2008

  # Get-DomainModeEnumValues.ps1   # Prints out the values of the DomainMode Enum   # Thomas Lee – tfl@psp.co.uk     # Enumerate System.DirectoryServices.ActiveDirectory.DomainMode     $enums =[enum]::GetValues([System.DirectoryServices.ActiveDirectory.DomainMode])    # Display values   "System.Net.DirectoryServices.ActiveDirectory.DomainMode enum has {0} possible values:" -f $enums .count  $i =1 … Read the full text.