#75949 - 2003-07-18 11:31 AM
Error in expression.!
|
Viggen
Starting to like KiXtart
Registered: 2002-03-22
Posts: 110
|
Here's all of the message:
quote:
ERROR : Error in expression.! Script: C:\Temp\Users.kix Line : 350
This is line 350: $dsq = shell "dsquery group OU=Some_school,OU=Schools,DC=school,DC=mycompany,DC=com -scope subtree -name Students"
The script worked perfekt until I added this line to check for a group in AD.
I have tried with "%COMSPEC /C" --> no result... I have tried to do it manually in the console --> works perfectly
If i comment out the line the script runs smooth again
note. This is done on an Win2k3 DC
My forehead is starting to hurt and the wall I'm sitting next to is starting to get dents, from me banging the head against it.
Can some one tell me what the heck I'm doing wrong? (With the line... not the wall/head )
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 1198 anonymous users online.
|
|
|