I’m used to regularly work with ping.exe, nslookup.exe and ipconfig.exe in the command prompt. With PowerShell becoming more and more the default it’s time to change my default behavior, sounds like a real programmer…
PowerShell 4.0 provides cmdlets for these commonly used command-line executables. Since I’m often searching for the cmdlet name, I thought to write a personal reminder and share it with you!
- Ping.exe » Test-Connection “bramdejager.wordpress.com”
- NSlookup.exe » Resolve-DnsName “bramdejager.wordpress.com”
- IPconfig.exe » Get-NetIPConfiguration
Another nice cmdlet to retrieve your IP addresses is:
- Get-NetIPAddress | select IPAddress