OK, if you want the Right() of it...
(not golfed)
Break ON
$DN="LDAP://CN=DrShark,OU=1,OU=2,OU=3,OU=Test,DC=test,DC=dom"
$Len = Len($DN)
$Len ?
$InStr = InStr($DN,',ou=')
$InStr ?
$ = Right($DN,$Len-$InStr)
$ ?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.