Public/Clear-Arp.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function Clear-Arp {
    <#
    .DESCRIPTION
    Clears the local arp table

    .Link
    Clear-DNSClientCache
    Get-DNSClientCache
    Get-NetIPConfiguration
    Get-NetworkStatistics
    Get-PublicIP
    Resolve-DNSName
    Test-Netconnection
    #>


    #Check For Admin Privleges
    Get-Elevation

    netsh.exe interface ip delete arpcache
}