作成 2010.01.05
更新 2011.11.27
PowerShell で Active Directory のベースDNを取得する
ドメイン ユーザーでログオンしている必要がある。
$objRoot = [ADSI]("LDAP://rootDSE")
$basedn = $objRoot.defaultNamingContext

©2004-2017 UPKEN IPv4