Posted On March 31, 2019

ARP MAC to IP Resolution

kimconnect 0 comments
blog.KimConnect.com >> Codes , Networking >> ARP MAC to IP Resolution
If entry already exists on the ARP table:
arp -a | find "XX-XX-XX-XX-XX-XX"

If entry does not exist, and the IP address is known:
ping {ip-address}
arp -a {ip-address}

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Quick & Useful Snippet to Set SSL TLS Protocol of PowerShell

$requiredTls='Tls12' $availableSslProtocols=[enum]::getnames([net.securityprotocoltype]) if([Net.ServicePointManager]::SecurityProtocol -notin $requiredTls -and $requiredTls -in $availableSslProtocols){ [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::$requiredTls }

List Autorun Services

# $cred = get-Credential -credential kdoan-a $Username = 'kimconnect\kim-Admin $Password = 'PASSWORD' $pass = ConvertTo-SecureString…

PowerShell: Test URL for Reachability

function testUrl($url){ try{ $HTTP_Request = [System.Net.WebRequest]::Create($url) $HTTP_Response = $HTTP_Request.GetResponse() [int]$HTTP_Status = [int]$HTTP_Response.StatusCode If ($HTTP_Status -eq…