Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

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.

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

Here is my example, let me know

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Here is my example, let me know

Not applicable
Author

thank you. how do i get the server / domain name?

alexandros17
Partner - Champion III
Partner - Champion III

Take a look to system functions, you'll find what you need ...