PowerShell Active Directory Series

In my 200th post already (as I did just see) as promised here the start of the Active Directory Management series.In this first Part I will show how to make a Active Directory Object in Powershell,
connect to a domain, list Properties and Methods of the Object, and how to get the child Objects and store them in a Variable again.We will do all of this interactive from the commandline,

there are no CMDlets yet for Active directory management in PowerShell for version 1,
but as we can use .NET objects from powershell we are still able to manage Activedirectory from Powershell.

the .NET Classes we need are in the namespace system.directoryservices..
(This naming is because as you can connect not only to AD but to an other directoryservices using LDAP as well. )
in .net 2.0 we also have a activedirectory namespace for infrastructure management but more about that later in the Series. Continue reading


Hi All!!!

Hello All,

This is my First Ever Post. I wanted to keep all my technological knowledge updates and material here for my-self and others whoever feels the info usefull.