Network commands in windows powershell

Here is the list of Network Commands in Windows Powershell
  • Test-Connection : This command tests the connection with specific computer by sending pings. This command is similar to “ping” command.
  • ipconfig – This command displays IP addresses and physical addresses of each network interface.
  • getmac – This command displays the physical addresses of each network interface.
  • Send-MailMessage : This command sends an email message. You need to provide SMTP server details to be able to send an email message.
  • HostName : This command displays the name of computer.
  • Resolve-DNSName : This command looks up DNS records for specific host.
  • Netstat : This command shows all network connections.
  • FTP : This command lets you connect to remote host using FTP protocol.
  • Telnet : This command lets you login to system remotely.
Invoke-WebRequest and Invoke-RestMethod You can send also create a web request using below command.
 
Invoke-RestMethod https://www.softpost.org -Body $R

Invoke-WebRequest https://www.softpost.org -Body $R

Resolve-DNSName command

Web development and Automation testing

solutions delivered!!