Active Directory

Do you have a mix of Windows Server 2003 and Windows Server 2012 R2 domain controllers in your domain and occasionally experiencing logon issues? It could be due to Computers which changed their machine password recently and failing to communicate with domain after that. AskDS(Microsoft Active Directory support team) recently published an article about this […]

{ 0 comments }

One thing that I don’t like while working with ActiveDirectory PowerShell module is, it’s slowness in loading and the crazy progress bar that it shows while creating default AD: drive. Honestly, I don’t use the AD: ps drive to manage active directory objects as the cmdlets are sufficient enough for most of the operations. Moreover, […]

{ 0 comments }

In this post I will show you how to query active directory security group members and export them to CSV(or excel) using PowerShell While there are variety of ways available to export group membership to excel/CSV, the easiest method I found is using the combination of cmdlets in ActiveDirectory module & Export-CSV cmdlets. It helps […]

{ 0 comments }

In this article, I will show you how to create multiple test user accounts in active directory using PowerShell. While playing with some stuff in my lab setup today, I got a requirement to have 100 test user accounts. I am not concerned much about the display name or any other properties of these test […]

{ 0 comments }

In past I talked about same topic in DCLocator(Part-I) & DCLocator(Part-II) posts. That time I came to that conclusion based on what I read in some blogs and my own experimeniting.  The posts are not having any pictures or anything that can make my readers understand this concept clearly. It is completely a text rambling […]

{ 0 comments }

In this post, I will show you how to use Powershell for enabling or disabling OU protection in Active Directory. In my last post, we have seen how to query Organization Units in Active Directory that has protection enabled. Now we will see how to enable or disable this protection option using PowerShell. As I […]

{ 1 comment }

In this post, I will show you how to find list of Organization Units(OUs) in Active Directory that has protection enabled on them using Powershell We know that, Active Directory now has built-in protection for Organization Units to prevent accidental deletions. This helps in unnecessary loss of data and saves the time that one need […]

{ 0 comments }

While working on some PS stuff today related to active directory, I came across a need to verify if the given OU(Organization Unit) exists or not. Basically, I am taking OU as input to one of my scripts and would like to validate if that OU exists before doing any processing.  After a little bit […]

{ 3 comments }

In one of my previous articles I showed you how to install and configure active directory in Windows Server 2012. In this post, I will talk about step-by-step removal of active directory from a domain controller in Windows  Server 2012. Like the change in installation procedure of active directory, demotion/removal also will not depend on […]

{ 3 comments }

The “Active Directory Administrative Center” is much sophisticated tool in Windows Server 2012 to manage Active Directory. I liked its ability to easily to restore user/computer or any other Active Directory object easily without much complexity. To recover a deleted object from active directory, follow the procedure. You should have Recycle bin enabled and working […]

{ 0 comments }