Tag: Active Directory
-
Interactive PowerShell 4.0 Script Automates Active Directory User and Mailbox Creation.
In line with the objective of streamlining and automating new employee/user creation process for help desk/level 1 support, I wrote the following PowerShell script to help precisely define the steps in the process, further reduce the chance for human error and cut down time to finish the task. The interactive PowerShell script accepts user input…
-
PowerShell Script uses Split() Method to display Active Directory Users’ Organizational Unit and other Properties.
A colleague was trying to generate a report of Active Directory Users, displaying their Organizational Unit and PasswordNeverExpires property status. Normally this should be very simple, but they ran into a small snag. The Active Directory module at the time of this writing which is PowerShell 4.0 does not have a direct Organizational Unit property…
-
Creating New Equipment Address List in Exchange 2010.
The steps and cmdlets below enabled me configured a separate address list in Exchange 2010 to manage all Equipment. Create the Address List and specify the Recipient Filter: [PS] C:\>New-AddressList -name “All Equipment” -RecipientFilter {RecipientType -eq “UserMailbox” -and RecipientTypeDetails -eq “EquipmentMailbox”} Run the Update-AddressList on the New Address List: [PS] C:\>Update-AddressList -Identity “All Equipment” To…
-
Renaming AD User Object Surname Property.
The following script renames the Surname property of an Active Directory User Object. The script requires PowerShell 3.0. The only edit required is the organizational Exchange Server name specified in the New-PSSession cmdlet. The script accepts the Given Name, Surname and new Surname parameters’ input from the console,executes the rename of the Active Directory object…
-
How to promote Windows Server 2012 to a Domain Controller
Originally posted on Exchange Times: Microsoft has done away with dcpromo when it comes to Windows Server 2012. We’ve been so accustomed to using dcpromo that I actually struggled a bit to promote a 2012 server to a DC in one of my labs. This short video shows how to install the Active Directory Directory…