Hi everybody.

On a Kixtart script with these lines:
 Code:
$rc = WriteNextLine($NextLine)
$NextLine = 'TCP/IP Address:                    @IPaddress0'                        ;TCP/IP address (possible values for X are 0 - 3) Note:  Addresses are padded so that the resulting string always consists of four sets of three characters separated by periods. For example, if your IP address is 123.45.6.7, @IPADDRESS0 is "123. 45. 6. 7"
$rc = Print($NextLine)
;? '$NextLine'
$rc = WriteNextLine($NextLine)
$NextLine = 'TCP/IP Address1:                    @IPaddress1'                        ;TCP/IP address (possible values for X are 0 - 3) Note:  Addresses are padded so that the resulting string always consists of four sets of three characters separated by periods. For example, if your IP address is 123.45.6.7, @IPADDRESS0 is "123. 45. 6. 7"
$rc = Print($NextLine)
;? '$NextLine'
$rc = WriteNextLine($NextLine)
$NextLine = 'TCP/IP Address2:                    @IPaddress2'                        ;TCP/IP address (possible values for X are 0 - 3) Note:  Addresses are padded so that the resulting string always consists of four sets of three characters separated by periods. For example, if your IP address is 123.45.6.7, @IPADDRESS0 is "123. 45. 6. 7"
$rc = Print($NextLine)
;? '$NextLine'
$rc = WriteNextLine($NextLine)
$NextLine = 'TCP/IP Address3:                    @IPaddress3'                        ;TCP/IP address (possible values for X are 0 - 3) Note:  Addresses are padded so that the resulting string always consists of four sets of three characters separated by periods. For example, if your IP address is 123.45.6.7, @IPADDRESS0 is "123. 45. 6. 7"
$rc = Print($NextLine)
;? '$NextLine'

On a Windows 7 computer with VMWare workstation installed

@IPaddress0 returns a virtual IP address instead of the physical IP address, is it a problem with VMWare? WMI? or can this be helped somehow?

Thank you.


Edited by Arend_ (2017-02-08 11:34 AM)
Edit Reason: Please use code tags