Login | |
|
 |
RE: Bit lost in an array - 7/9/2007 10:15:36 PM
|
|
 |
|
| |
Parabellum
Posts: 222
Score: 0
Joined: 11/12/2006
From: UK
Status: offline
|
Have you tried this.... don't have any means to test at the moment... but it should work? Set objGroup = GetObject (Path) objGroup.GetInfo arrMemberOf = objGroup.GetEx("member") For Each strMember in arrMemberOf strSAM = strMember.sAMAccountName WScript.echo strMember WScript.echo strSAM Next
|
|
| |
|
|
|
 |
RE: Bit lost in an array - 7/10/2007 6:23:31 AM
|
|
 |
|
| |
mcds99
Posts: 434
Score: 4
Joined: 2/28/2006
Status: online
|
Try this newStrSam = strSam wscript.echo newStrSam Sometimes you must copy the data in to another variable before it will display, I don't know why this happens.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|