Do Until objRecordSet.EOFWscript.Echo objRecordSet.Fields("Name").ValueWscript.Echo objRecordSet.Fields("sAMAccountName").ValueWscript.Echo objRecordSet.Fields("legacyExchangeDN").ValueobjRecordSet.MoveNextLoop

This script lets you manually bind to the domain/application partition.

Do Until objRecordSet.EOFWscript.Echo objRecordSet.Fields("Name").ValueWscript.Echo objRecordSet.Fields("sAMAccountName").ValueWscript.Echo objRecordSet.Fields("legacyExchangeDN").ValueobjRecordSet.MoveNextLoop