General discussion

  • Creator
    Topic
  • #2312982

    Determining Log on server

    Locked

    by hgic2 ·

    I know there is a command out there that will give you the server you logged into for your script but I cannot for the life of me remember what it is.

All Comments

  • Author
    Replies
    • #2744401

      Reply To: Determining Log on server

      by huckleberryhound ·

      In reply to Determining Log on server

      There is an evironment varaible for this.
      For example, from a command prompt type:
      echo %logonserver%

    • #2742459

      Reply To: Determining Log on server

      by rgrogan ·

      In reply to Determining Log on server

      Yes! From the command line, type “echo %logonserver%”. (Without the quotes of course!)

    • #3364511

      Reply To: Determining Log on server

      by why ·

      In reply to Determining Log on server

      nltest /sc_query:domainname

Viewing 2 reply threads