GetLastUsedSubnet

(RPC Manager Library)

Description: Returns the last CIDR representation of the subnet or remote IP used for communication with the specified machine.
Warning: This statement should be used by advanced users only.
Returns: A CIDRClosed Classless Inter-Domain Routing format subnet address, or IP address.
Usage: Script or Steady State
Function Groups: Network
Related to: GetSubnetPriority | GetPreferredSubnet | SetSubnetPriority
Format: SetSubnetPriority(MachineName)
Parameters:  
MachineName
Required Text. A single string machine name of the remote system.
Comments:

If a network priority is not configured, this return value will bounce between all available subnets following the round-robin handling of RPCManager.

(See: [RPCMANAGER-NETPRIORITY] Section)