Hi, I can't exactly reproduce what your domain and what your doing ... but instead of going after "siteObjectBL" here's a modified version of your script that goes after "name", hope you can reverse engineer something back ...

Code:

break on

$= setoption("wrapateol","on")

$strSiteRDN = ""

$objRootDSE = GetObject("LDAP://RootDSE")

$strConfigurationNC = $objRootDSE.Get("configurationNamingContext")

$strSitePath = "LDAP://" + $strSiteRDN + $strConfigurationNC

$objSite = GetObject($strSitePath)

dim $arrObjectBL[0]
$arrObjectBL[0] = "name"
;$arrObjectBL[0] = "siteObjectBL"

$objSite.GetInfoEx($arrObjectBL,0)

$arrSiteObjectBL = $objSite.GetEx("name")
;$arrSiteObjectBL = $objSite.GetEx("siteObjectBL")

?"value=" $arrSiteObjectBL[0]

exit 0



-Shawn