windows-powershell-docs
windows-powershell-docs copied to clipboard
Get-ADOrganizationalUnit -Identity acceptable values
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.
- ID: 8b3e55db-67a7-2edb-ba98-ada0ca4d2483
- Version Independent ID: ef303b12-102b-fb99-eef2-94e77e7315b3
- Content: Get-ADOrganizationalUnit (ActiveDirectory)
- Content Source: docset/winserver2022-ps/activedirectory/Get-ADOrganizationalUnit.md
- Product: w10
- Technology: windows
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend