If you have to access an AD property where the name contains a dash, the solution in vbscript is to surround it with square brackets, but if you try this in KiXtart it will be mistaken for being an array.

Could we have ie.:

$PrevState = SetOption("IgnoereBrackets","On")

Or

$PrevState = SetOption("DisableArrays","On")

-Erik

An examle can be seen here: http://blogs.technet.com/b/heyscriptingg...n-its-name.aspx


Edited by kholm (2012-09-26 01:08 AM)