Introduction

The concept of default and extended properties available with the PowerShell Active Directory cmdlets are defined in the Wiki article "Active Directory: PowerShell AD Module Properties" linked in the "See Also" section below.

^ Return to top

Get-ADOrganizationalUnit Cmdlet Default and Extended Properties

The PowerShell Get-ADOrganizationalUnit cmdlet supports the default and extended properties in the following table. Many can be assigned values with the Set-ADOrganizationalUnit cmdlet. In the table, default properties are shown with the property name highlighted in red. Extended properties are highlighted in blue.

Property Syntax R/RW lDAPDisplayName
CanonicalName String R canonicalName
City String RW l
CN String R cn
Country String RW c (2 character abbreviation)
Created DateTime R whenCreated
Deleted Boolean R isDeleted
Description String RW description
DisplayName String RW displayName
DistinguishedName String (DN) RW distinguishedName
LastKnownParent String (DN) R lastKnownParent
LinkedGroupPolicyObjects ADCollection R gPLink
ManagedBy String (DN) RW managedBy
Modified DateTime R whenChanged
Name String R cn (Relative Distinguished Name)
ObjectCategory String R objectCategory
ObjectClass String RW objectClass, most specific value
ObjectGUID Guid RW objectGUID converted to string
PostalCode String RW postalCode
ProtectedFromAccidentalDeletion Boolean RW nTSecurityDescriptor
State String RW st
StreetAddress String RW streetAddress

^ Return to top

See Also

Active Directory: PowerShell AD Module Properties

Active Directory PowerShell Cmdlet Properties

Active Directory: Get-ADUser Default and Extended Properties

Active Directory: Get-ADComputer Default and Extended Properties

Active Directory: Get-ADGroup Default and Extended Properties

Active Directory: Get-ADObject Default and Extended Properties

Active Directory: Glossary

^ Return to top

Other Resources

Get-ADOrganizationalUnit

Set-ADOrganizationalUnit

New-ADOrganizationalUnit

Remove-ADOrganizationalUnit

^ Return to top