windows-powershell-docs icon indicating copy to clipboard operation
windows-powershell-docs copied to clipboard

Get-ADOrganizationalUnit -Identity acceptable values

Open Cory847 opened this issue 3 years ago • 0 comments

The acceptable values listed for the parameter -Identity are A distinguished name A GUID (objectGUID) A security identifier (objectSid) A Security Account Manager account name (sAMAccountName)

I don't think Security Account Manager account name (sAMAccountName) is an acceptable value. I have never seen an OU with a sAMAccountName. I also don't think security identifier (objectSid) is a valid value either, but I am less sure of that.

Get-Help Get-ADOrganizationalUnit also does not list Security Account Manager account name (sAMAccountName) or security identifier (objectSid).


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Cory847 avatar Sep 22 '22 22:09 Cory847