Tag: Active Directory (Page 2/3)

#PSTip Verify Active Directory account credentials using System.DirectoryServices.DirectoryEntry

The System.DirectoryServices.AccountManagement namespace provides a nice way of testing if a set of Active Directory credentials are correct (also discussed…

Read More

#PSTip List all AD attributes currently in use for AD users

This question was asked on the forums recently, is it possible to list all the Active Directory attributes that are…

Read More

#PSTip Extending the default output property set for Active Directory objects

Note: This tip requires PowerShell 3.0 or above. When you get user objects from Active Directory using the Active Directory…

Read More

#PSTip List all Active Directory constructed attributes

Active Directory has a special kind of attributes called Constructed attributes. Constructed attributes are not “real” attributes, they are not…

Read More

#PSTip Get the AD site name of a computer

There are a few ways to get the┬ásite a computer is a member of. In .NET we can use┬áthe ActiveDirectorySite…

Read More

#PSTip Discovering Active Directory FSMO Role Holders using PowerShell

Note: This tip requires PowerShell 2.0 or above. Active Directory defines five FSMO roles: Schema master Domain naming master RID…

Read More