I want to remove called "vmxnet3 network adapter".
Get-PnpDevice -FriendlyName "vmxnet3 Ethernet Adapter"
AFAIK , Pnputil doesn't support the uninstall of devices, only drivers.
Steps:
Open Device Manager from Control Panel
Select “Show hidden devices” from View menu
Expand “Network adapters”
vmxnet3 network adapter
Right click on adapter
Click on uninstall.
Click on Ok button.
Do not check "Delete the driver software for this device"
How to uninstall these adapters using PowerShell script?
script :
get-wmiobject -Query "select * from win32_systemdriver where caption=`"vmxnet3 NDIS 6 Ethernet Adapter Driver`"" | ForEach { $_.StopService()
$_.Delete()
}
output:
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
ReturnValue : 4
PSComputerName :
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
ReturnValue : 0
PSComputerName :
thanks,