Cmdlets for TCP/IP Model Layers

Cmdlets for TCP/IP Model Layers

The architecture of the TCP/IP protocol suite by Microsoft (


Layer 1. Network Interface Layer

Hardware information of the network adapter

Returns all physical network adapters

Networking statistics from the network adapter. The statistics include broadcast, multicast, discards, and errors


Layer 2. Internet Layer

MAC (Media Access Control)

Get the current MAC

Neighbor cache entries (The neighbor cache maintains information for each on-link neighbor, including the IP address and the associated link-layer address. In IPv4, the neighbor cache is commonly known as the Address Resolution Protocol (ARP) cache)


IP (Internet Protocol)

Get the current IP address

IP version supported by the network adapter

Information about IP version

Assign a static IP address

IP route information from the IP routing table


NAT (Network Address Translation)

Information about NAT



Information about firewall


ICMP (Internet Control Message Protocol)

Sends ICMP echo request packets (“pings”) to one or more computers


Layer 3. Transport Layer

TCP (Transmission Control Protocol)


Gets information about current connection statistics



UDP (User Datagram Protocol)


Gets information about current connection statistics



Layer 4. Application Layer

HTTP/HTTPS (Hypertext Transfer Protocol/Hypertext Transfer Protocol Secure)

Information about HTTP/HTTPS



Information about proxy


DNS (Domain Name System)

Information about DNS

Performs a DNS name resolution for the specified name

Resolves a host name or IP address to an IPHostEntry instance

Clears the contents of the DNS client cache

Clears resource records from a cache on the DNS server


FTP (File Transfer Protocol)

Upload file using FTP


SMTP (Simple Mail Transfer Protocol)

Send an email