< # .SYNOPSIS This script demonstrates the confirmance level enum. .DESCRIPTION This script displays the values form the conformancelevel enum and checks it against a value. .NOTES ...
# 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]) ...
# Get-ForestModeEnumValues.ps1 # Prints out the values of the ForestMode Enum # Thomas Lee - tfl@psp.co.uk # Enumerate System.DirectoryServices.ActiveDirectory.forestmode $enums =[enum]::GetValues([System.DirectoryServices.ActiveDirectory.ForestMode]) ...