Category: Active Directory 101

Find empty groups in Active Directory using PowerShell

Today we will find empty groups in Active Directory using Powershell. You all may know that we as System Administrators are required to create groups in the Active Directory for all sorts of purposes and reasons. But over time, do people who request for these groups really utilise them? It is bound to happen that […]

Read More »

PowerShell: Get Last Logon For All Users Across All Domain Controllers

Here is a quick PowerShell script to help you query the last logon time for all of your users across all of your domain controllers. It will also save the output to a .csv file specified in the $exportFilePath string. I was surprised not to find many examples of this across the web already. Either […]

Read More »

Creating A Windows 2012 Or 2012R2 Domain Controller

With Windows 2003 nearing end-of-life, it is becoming more imperative to upgrade to a newer operating system. For many IT admins, this is a great opportunity to start upgrading infrastructures to Windows 2012 or Windows 2012R2. Since DCPromo was depreciated in Windows Server 2012, the following article serves as a step-by-step guide to creating a […]

Read More »

Promoting A Windows 2012R2 Server To Domain Controller

Once a Windows 2012 or Windows 2012R2 has had the Active Directory Domain Services role installed, the domain controller must be promoted to a domain controller. This article outlines the steps needed to add a domain controller to an existing environment.   How to Promote a Windows 2012R2 Domain Controller Post installation of the role, […]

Read More »

Transferring FSMO Roles To Another Active Directory Controller

With virtualization continuing to grow into the small and medium business marketplace, it is now affordable for many IT administrators to implement many common best practices such as having a minimum of two domain controllers. Virtualization also has many transitioning/upgrading to operating much easier. When considering doing an upgrade for Active Directory for small to […]

Read More »

Active Directory : Create test users using PowerShell

I’ve often had a need for some users for various test purposes, and want a script to quickly create these users. Create Organizatiol Unit (OU) In order to use the cmdlets needed you need Access to a Domain Controller or have RSAT (opens a Google search) installed on your Workstation and use import-module *active* You can […]

Read More »

Server 2012 : GPO to setup local admin and RDP access.

We are going to give access to a Group of people to RDP to Workstations and have local administrators rights. In order for RDP to work we also need to open firewall. While reading you might want to consider to split up this (monolithic) GPO and single Security Group into 2 Security Groups and 3 smaller […]

Read More »

How to Export AD user list with email addresses

If you have the need to export a user list from an Active Directory group along with the user’s email address, run the following command in PowerShell as an administrator.   If your AD has the e-mail attribute filed out:   Powershell Get-ADGroupMember -Identity “groupname” -Recursive | Get-ADUser -Properties Mail | Select-Object Name,Mail | Export-CSV […]

Read More »

FashionBuzz © 2015 | All Rights Reserved Theme by Flythemes