Document all Attributes of Specified Active Directory Object

A PowerShell script to document all attributes of a specified Active Directory object. The script documents all mandatory and optional attributes for the class of the object, including the lDAPDisplayName, the syntax, if multi-valued, if operational, and the value(s) assigned.

5 Star
699 times
Add to favorites
Active Directory
E-mail Twitter Digg Facebook
  • Error
    1 Posts | Last post March 28, 2019
    • When I run this I get
      Exception calling "FindOne" with "0" argument(s): "An operations error occurred.
      At C:\Users\adm-c7684965\Desktop\_Ascripts\Get-ADObjectAttributes\Get-ADObjectAttributes.ps1:532 char:5
      +     $Result = $Searcher.FindOne()
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
          + FullyQualifiedErrorId : DirectoryServicesCOMException