Page 1 of 1 1
Topic Options
#204497 - 2012-03-16 06:02 PM OR Statement
Tony Offline
Getting the hang of it

Registered: 2001-11-04
Posts: 55
Loc: LA
Hello,

On top of my script it has the following. I want to add another (ts2) computer. We are building another terminal server for students. The script is placed on the OU level (GPO). How do I specify "or"? We are using kixtart version 4.6.


If @WKSTA = "ts1"

TIA,


Edited by Tony (2012-03-28 08:47 AM)

Top
#204498 - 2012-03-16 06:13 PM Re: OR Statement [Re: Tony]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Do you mean like this?
If @WKSTA = "ts1" or @WKSTA = "ts2"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#204502 - 2012-03-16 07:34 PM Re: OR Statement [Re: Les]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Tony, did you inherit your script or even your entire environment?
_________________________
!

download KiXnet

Top
#204506 - 2012-03-16 09:09 PM Re: OR Statement [Re: Les]
Tony Offline
Getting the hang of it

Registered: 2001-11-04
Posts: 55
Loc: LA
 Originally Posted By: Les
Do you mean like this?
If @WKSTA = "ts1" or @WKSTA = "ts2"


Yes. Let me test this. I inherit the environment.

It works.


Edited by Tony (2012-03-21 12:02 AM)

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 793 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.056 seconds in which 0.027 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org