3 Replies Latest reply: Jul 14, 2014 9:29 AM by Alessandro Saccone RSS

    Load computer and server names into variables. Loading Variable value into vb module check

      Hi.

       

      I want to load in script,

      into variable vComputerName the computername

      and into variable vServerName the server the computer belongs to.

       

      when the information will load into these variables.

       

      I have this module:

       

      Sub Check123

       

           if vComputerName = 'James' then msgbox('OK') else .....

       

      End Sub

       

      how do i call the vComputerName  into module?

       

      Thank You.