MRAJ Posted March 31, 2022 Posted March 31, 2022 I am using Network Statistics UDF (_NetworkStatistics.au3) to find the stats but i am not seeing in the script where i can run the Network stats of the Remote device or where i can add the Remote device IP address and it will show the Stats of the IP which i gave.
ad777 Posted March 31, 2022 Posted March 31, 2022 @MRAJ. #include <Array.au3> ; Local $iPID = Run(@ComSpec & ' /C "' & 'netstat -a', '', @SW_HIDE, $STDOUT_CHILD) ProcessWaitClose($iPID) Local $sOutput = StdoutRead($iPID) Local $aArray = StringSplit(StringTrimRight(StringStripCR($sOutput), StringLen(@LF)), @LF) _ArrayDisplay($aArray) link:https://en.wikipedia.org/wiki/Netstat none
MRAJ Posted March 31, 2022 Author Posted March 31, 2022 Thanks ad777. My query is from my machine I need to connect to Remote device IP address and get the results of Network Stats.
ad777 Posted March 31, 2022 Posted March 31, 2022 @MRAJ if you want to connect to Remote device by using IP address: _CRDipaddress('192.0.0.1') Func _CRDipaddress($ip) Return Run(@ComSpec & ' /C "' & 'mstsc /console /v:' & $ip, '', @SW_HIDE) EndFunc ;==>_CRDipaddress about Network State;Look for RDP(Remote Device Protocol)->Google it none
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now