#101186 - 2003-05-27 04:32 AM
Re: Microsoft releases ADSI Scriptomatic
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11628
Loc: CA
|
I could be wrong (I'm not at work on an AD to test it right now), but this line does not look like it would function correctly.
quote: $strHTML = $strHTML + '$$strSearchName = "EzAd' + UCase(Left($classesPulldown.Text,1)) + substr($classesPulldown.Text,2,len($classesPulldown.Text)) + '"' + @crlf
It appears as though it will take the computer name and class and put it into a single variable. Thus an LDAP call would fail as you are attempting to add invalid data to the var.
i.e. EzAd would be added to Computer class as one example.
Thus "EzAdComputer" would not return valid data.
Maybe I'm looking at it wrong though. If I am correct then why not use @WKSTA
I'll try to test it out at work though to make sure.
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 483 anonymous users online.
|
|
|