PS C:\> $Object = [ADSI]"LDAP://cn=Administrator,cn=Users,dc=Contoso,dc=Com" PS C:\> $Object.class user PS C:\> $Object.objectclass top person organizationalPerson user
Richard Mueller edited Revision 7. Comment: Replace RGB values with color names in HTML to restore colors
Richard Mueller edited Revision 6. Comment: Removed (en-US) from title
Craig Lussier edited Revision 5. Comment: added en-US to tags and title
Vasily Gusev edited Revision 3. Comment: Added info about direct groups and class
Vasily Gusev edited Revision 2. Comment: Added "Password never expire"
Vasily Gusev edited Revision 1. Comment: Added syntax highlighting
Vasily Gusev edited Original. Comment: minor formatting
Very nice, great help to get you started
Great so we have multiples way for using the powershell for AD.