| document type | cmdlet |
|---|---|
| external help file | helium-Help.xml |
| HelpUri | https://github.com/Skatterbrainz/helium/blob/master/docs/Get-ReverseLDAP.md |
| Locale | en-US |
| Module Name | helium |
| ms.date | 02/11/2026 |
| PlatyPS schema version | 2024-05-01 |
| title | Get-ReverseLDAP |
Reverse LDAP path string to Domain\OU format
Get-ReverseLDAP [-Path] <string> [-RelativePath] [<CommonParameters>]
This cmdlet has the following aliases, {{Insert list of aliases}}
Reverse LDAP distinguishedName format order to result in a Domain\OU ordered string value.
Get-ReverseLDAP -Path "CN=SmithJ,OU=Users,OU=Sales,OU=Departments,OU=CORP,DC=contoso,DC=local"
Returns: contoso.local\CORP\Departments\Sales\Users\SmithJ
Get-ReverseLDAP -Path "CN=SmithJ,OU=Users,OU=Sales,OU=Departments,OU=CORP,DC=contoso,DC=local" -RelativePath
Returns: CORP\Departments\Sales\Users\SmithJ
LDAP path or DistinguishedName
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''Optional. If present, excludes the DC portions of the path string. See Example 2
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.