Powershell
Powershell
Useful Commands
Test if port open from one server to another
Test-NetConnection 10.10.10.10 -port 445
Example output:
PS C:\Users\lab01> Test-NetConnection 10.10.10.10 -port 445 ComputerName : 10.10.10.10 RemoteAddress : 10.10.10.10 RemotePort : 445 InterfaceAlias : Ethernet SourceAddress : 10.10.10.20 PingSucceeded : True PingReplyDetails (RTT) : 29 ms TcpTestSucceeded : True PS C:\Users\lab01>