Tuesday, October 18, 2016

Powershell commands for common network tools in Windows

Had to do a nslookup and ipconfig on a machine and wondered what were the powershell equivalent commands.  Here below are some:


nslookup = Resolve-DnsName
ipconfig  = Get-NetIpConfiguration  (Get-NetIPAddress,  Get-NetAdapter Wi-Fi)
ping        = Test-NetConnection
route       = Get-NetRoute
tracert     = Test-NetConnection -Traceroute
netstat     = Get-NetTCPConnection




for more detail see:
https://blogs.technet.microsoft.com/josebda/2015/04/18/windows-powershell-equivalents-for-common-networking-commands-ipconfig-ping-nslookup/



No comments:

Post a Comment