Skip to content

Tag: Active Directory

Search for Disabled Users and Move to Disabled Ou using PowerShell

Search for Disabled Users and Move to Disabled Ou using PowerShell Created this script to search a ‘OU’ for disabled users and move them to a different ou . I have added the ‘WhatIf’ option by default . Once you run the script it will prompt for ‘Search OU’ and ‘Target OU’ .

Leave a Comment

Using Active Directory to meet Regulatory Compliances

Using Active Directory to meet Regulatory Compliances   When it comes to meeting compliance, many Administrators settle for simply auditing event logs. By default, Event Viewer records all events that are generated on a Windows Server. However, is simply storing logs an efficient way to meet compliance? Most compliance mandates require a particular report to…

Leave a Comment

Get and Connect a Disconnected Mailbox Using PowerShell

Get and Connect a Disconnected Mailbox Using PowerShell   To quickly find all disconnected Mailboxes in your Exchange environment launch EMC and run the following one liner.

The Results will look as follow: Now that we have the results lets refine the search to find a specific “Disconnected Mailbox”

The Results will look…

Leave a Comment

Prepare Active Directory and Domains for Exchange 2016

Prepare Active Directory and domains for Exchange 2016 The first step in getting your organization ready for Exchange 2016 is to extend the Active Directory schema. Exchange stores a lot of information in Active Directory but before it can do that, it needs to add and update classes, attributes, and other items. If you’re curious…

Leave a Comment

Deploy Active Directory Domain Using PowerShell

Deploy Active Directory  Domain using PowerShell Let’s start by Setting the PowerShell Execution Policy to Unrestricted

Next we will rename the server and install Prereq features.

After the script has run successfully the sever will restart , once restarted launch the #PowerShell Console again and run the second script. This will install all…

Leave a Comment

End of support for DirSync and Azure AD Sync . Time to upgrade to Azure AD Connect!

On April 13 of last year, Microsoft announced the deprecation of “Windows Azure Active Directory Sync (DirSync)” and “Azure Active Directory Sync (Azure AD Sync)” and that it was time to start planning to upgrade to Azure AD Connect. They have also announced that end of Support for DirSync & AzureAD Sync will be on…

Leave a Comment

Rename Server using #Powershell

Rename Windows Server Name using #PowerShell Being in the #LazyAdminMode lets rename our server using #PowerShell Lets start by opening  #PowerShell  and type

and that is it 🙂 quick and easy #LoveIt Next lets restart the Server using #PowerShell  to apply the new name by typing

  To get more information regarding the…

Leave a Comment

Some Group Policy areas are missing from the Group Policy Editor

SUMMARY When you open the Group Policy Editor MMC snap-in tool, focused either on a local GPO or AD-based one, some Group Policy areas that are expected to appear may not be found. SYMPTOMS Some policy areas are missing when you open up the Group Policy editor. These missing policy areas are different than the…

Leave a Comment

DHCP Server UI displaying wrong IP address in Windows 2012 (169.254)

Got to help out with a customer with a very interesting query. Authorized DHCP server not showing the correct server name or IP instead it comes up as a (169.254.X ) IP. To resolve this issue or incorrect GUI Display we need to change the NIC binding with the steps below. How to set/view the…

Leave a Comment

Creating fine grained password policies through GUI Windows server 2012

A quick description of fine grained password policies is that you can specify multiple password policies within a single domain. You can use fine-grained password policies to apply different restrictions for password and account lockout policies to different sets of users in a domain One of the nice features introduced in Windows Server 2010 “Server…

Leave a Comment