Page 1 of 1 1
Topic Options
#153850 - 2005-12-21 09:03 PM Make a %server variable that represents all my domain controllers
palmbeach Offline
Lurker

Registered: 2005-12-21
Posts: 1
Here is my actual scritp (part of).....i would like to know how to convert my variable %server so that it would represent all my DC instead of a single server. is it possible ????


CASE InGroup("SPTS.USR")
SETCONSOLE("HIDE")
$Server="\\SSPTSADM01\"
$Msgtext = "Welcome to the network "+@fullname+" ... "+CHR(10)+
"You are connecting to the "+@ldomain+" domain"+CHR(10)+
"using the "+$Server+" server ..."+CHR(10)+
"Please wait while your environment is configured ..."
MESSAGEBOX($Msgtext,"KiXtart",64,3)
$Maplocal=$Server+"SCRIPT$\Local.kix"
CALL $Maplocal
COOKIE1
exit

Top
#153851 - 2005-12-21 10:15 PM Re: Make a %server variable that represents all my domain controllers
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Hello and welcome to Korg.

Well this is the macro to use for a Dynamic entry of which server authenticated you.


@LServer
 

Just my recommendation. I'd not use special characters in group names if possible.
 


Edited by NTDOC (2005-12-21 10:16 PM)

Top
Page 1 of 1 1


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

Who's Online
0 registered and 525 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.062 seconds in which 0.032 seconds were spent on a total of 12 queries. Zlib compression enabled.

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