Looking to create a SAM Template using PowerShell Script, using TNC.
The format of the script: tnc -ComputerName "$IPAddress" -port $Port -InformationLevel "Detailed"
The first part would be:
$IPAddress = $args.get(0);
$Port = $args.get(1);
I want to get the results of the field TcpTestSucceeded, if True = 0 (UP for Solarwinds) or False = 1 (Down for Solarwinds)
ComputerName : xxx.xxx.xxx.xxx
RemoteAddress : xxx.xxx.xxx.xxx
RemotePort : xxxx
InterfaceAlias : Ethernet0
SourceAddress : xxx.xxx.xxx.xxx
TcpTestSucceeded : True