pktmon : Failed to add filter: The system cannot find the file specified

Why am I getting these errors?

PS > pktmon filter add -i 216.239.32.10
pktmon : Failed to add filter: The system cannot find the file specified.
At line:1 char:1
+ pktmon filter add -i 216.239.32.10
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Failed to add f...file specified.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 

PS > pktmon filter add -i 216.239.32.10 -t tcp
pktmon : Failed to add filter: The system cannot find the file specified.
At line:1 char:1
+ pktmon filter add -i 216.239.32.10 -t tcp
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Failed to add f...file specified.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

PS > pktmon filter add help
pktmon filter add  [-m  [mac2]] [-v ] [-d { IPv4 | IPv6 | number }]
                         [-t { TCP [flags...] | UDP | ICMP | ICMPv6 | number }]
                         [-i  [ip2]] [-p  [port2]] [-b] [-e [port]]
    Add a filter to control which packets are reported. For a packet to be
    reported, it must match all conditions specified in at least one filter.
    Up to 32 filters can be active at once.

    NOTE1: When two MACs (-m), IPs (-i), or ports (-p) are specified, the filter
           matches packets that contain both. It will not distinguish between source
           or destination for this purpose.

name
    Optional name or description of the filter.

Answer

Attribution
Source : Link , Question Author : VWP.CS , Answer Author : Community

Leave a Comment