header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

Convert Distinguished Name
Last Post 03 Nov 2008 10:24 AM by Nikalaichyk. 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
NikalaichykUser is Offline
New Member
New Member
Posts:11
Avatar

--
23 Oct 2008 09:05 AM  

Hello scripting guys! :) How to convert DN to NetBIOS? For example string 'CN=Users,DC=london,DC=company,DC=com' to string 'london.company.com/Users'. And for Exchange 2007: Is there any way to convert Mailbox Database Property DistinguishedName to Identity?

glnsizeUser is Offline
Basic Member
Basic Member
Posts:101

--
23 Oct 2008 01:02 PM  

 

I wrote a couple of functions to handle the DN to Conical.  Is this what you're looking for http://poshcode.org/512 ?

~Glenn

ShayUser is Offline
Basic Member
Basic Member
Posts:269
Avatar

--
23 Oct 2008 01:53 PM  
Take a look at the $obj.canonicalName AD object property.
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
NikalaichykUser is Offline
New Member
New Member
Posts:11
Avatar

--
03 Nov 2008 10:24 AM  
OK. Thanks! I decided not to convert anything in my script.
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer