#40196 - 2003-05-16 12:16 AM
Computer in a group
|
Anonymous
Anonymous
Unregistered
|
Win2K Server /Win2K Pro
Is there a way for kix to reconize computers that are in a group. I have put a test computer in a group and the following line doesn't work, but it will if the user is in the group
IF INGROUP("TestComputers") DISPLAY "Yep that Works" ENDIF
Thanks John
|
|
Top
|
|
|
|
#40197 - 2003-05-16 12:25 AM
Re: Computer in a group
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
you need to check OUs not groups for computers...
|
|
Top
|
|
|
|
#40198 - 2003-05-16 12:56 AM
Re: Computer in a group
|
Anonymous
Anonymous
Unregistered
|
Computer on our network need to be in more than 1 group so I can't use OU's, is there no way to find a computer in a group??
eg.
TESTPC1 is in "SoftwareInstall_AcroBat" & "SoftwareInstall_Winzip"
IF INGROUP("SoftwareInstall_AcroBat") "Run Command" ENDIF
IF INGROUP("SoftwareInstall_Winzip") "Run Command" ENDIF
Thanks John
|
|
Top
|
|
|
|
#40202 - 2003-05-15 01:59 PM
Re: Computer in a group
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
looks like your need to UDF it.
ComputerInGroup($group) [ 15. May 2003, 13:59: Message edited by: Radimus ]
|
|
Top
|
|
|
|
#40203 - 2003-05-15 02:02 PM
Re: Computer in a group
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
ahhh, and FAQ it !
|
|
Top
|
|
|
|
#40205 - 2003-05-15 05:28 PM
Re: Computer in a group
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
that would be nice, but until then...
|
|
Top
|
|
|
|
#40207 - 2003-05-16 10:15 AM
Re: Computer in a group
|
Anonymous
Anonymous
Unregistered
|
Howard
Apologies for not checking recent posts (it won't happen again). Have use your example (link below) and it does exactly what I want. Thanks to you and others answering my question.
http://www.kixscripts.com/forum/tm.asp?m=581&p=1&tmode=1
|
|
Top
|
|
|
|
#40208 - 2003-05-16 02:18 PM
Re: Computer in a group
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
John, no problem; happy to help.
DOC, I will see about building a comprehesive ComputerInGrp() UDF and well ad docs. Very busy at the moment though.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1110 anonymous users online.
|
|
|