Monday, April 10, 2023

Creation of OU in Active Directory

ACTIVE DIRECTORY OU (ORGANIZATIONAL UNIT)

An Organizational Unit (OU) is a container in the Active Directory domain that can contain different objects from the same AD domain: other containers, groups, users, and computer accounts. An Active Directory OU is a simple administrative unit within a domain on which an administrator can link Group Policy objects and assign permissions to other users/groups.


Azure AD DS managed domains include the following two built-in OUs:

  • AADDC Computers - contains computer objects for all computers that are joined to the managed domain.
  • AADDC Users - includes users and groups synchronized in from the Azure AD tenant.

Procedure Name: Creation of Organization Unit (OU) in AD

  • Log in to AD server 
  • RUN - DSA.msc



  •  In tree select appropriate OU.
  •  Then right click on OU and select New-> organization Unit

      

  • Give appropriate name

  • Click OK
  • Your OU is created 


How to create an Active Directory OU using PowerShell?

The New-ADOrganizationalUnit cmdlet creates an Active Directory organizational unit (OU). You can set commonly used OU property values by using the cmdlet parameters. Property values that are not associated with cmdlet parameters can be set by using the* OtherAttributes* parameter.

You must set the Name parameter to create a new OU. If you do not specify the Path parameter, the cmdlet creates an OU under the default NC head for the domain.

PowerShell
PS C:\> New-ADOrganizationalUnit -Name "UserAccounts" -Path "DC=FABRIKAM,DC=COM"




No comments:

Post a Comment

What is Azure Active Directory?

  Azure AD is a cloud-based identity service. It has built in support for synchronizing with your existing on-premises Active Directory or c...