Skip to content

Instantly share code, notes, and snippets.

@ScriptingPro
Last active March 8, 2019 21:54
Show Gist options
  • Save ScriptingPro/86b5e97cf23e9079b63915f3ffc70fd2 to your computer and use it in GitHub Desktop.
Save ScriptingPro/86b5e97cf23e9079b63915f3ffc70fd2 to your computer and use it in GitHub Desktop.
look in AD schema and list all linked attributes
$Schema = [DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest().Schema
$Schema.FindAllProperties() | ?{$_.link}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment