PDowning Posted June 11, 2013 Share Posted June 11, 2013 (edited) Me again .... I've been over the enviroment variables and can only find the @logonserver option. What I am looking for is a variable that gives me the name of the LOCAL server, not the server that the user is logged into. Is this possible, or will I need to populate an array based off ip octets to correspond to the local server names? Edit: Oh yeh, this is an AD network. Edited June 11, 2013 by PDowning Link to comment Share on other sites More sharing options...
UEZ Posted June 11, 2013 Share Posted June 11, 2013 After I read your post several times I still don't know what you mean with "LOCAL server"!Do you want to get the logon server name?Br,UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 11, 2013 Moderators Share Posted June 11, 2013 I'm in the same boat. A server VM you're running locally on the machine maybe? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
PDowning Posted June 11, 2013 Author Share Posted June 11, 2013 Sorry for the confusion. We have an Active Directory network setup, where users login to the Domain Controller that is at out central office. Login also connects them to the local file server at their location. I want to pull that local server name, but can't find a @variable that will do that. Is there something in the AD UDF that I overlooked that could do that? Link to comment Share on other sites More sharing options...
UEZ Posted June 11, 2013 Share Posted June 11, 2013 I assume there is a login script which connects some network drives and you want that server names? Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
PDowning Posted June 11, 2013 Author Share Posted June 11, 2013 I assume there is a login script which connects some network drives and you want that server names? Br, UEZ Basically yes. I can do this with a 2D array by ip address, and server name, but was trying to avoid having to fill out an array with 75 sites. Link to comment Share on other sites More sharing options...
lewisg Posted June 11, 2013 Share Posted June 11, 2013 Are drive letter(s) given (assigned) to the "local server" you're looking for? If so, the DOS command "NET USE" will display the server name(s). Parsing them out is up to you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now