Sometimes after restart/coldboot I got a problem with my touchscreen driver in Win8, so I've to restart it manually by now.
So I want to write a script that starts after login, which will disable the driver and enables it again.
I actually found out to find the driver and that I can get a object list of the drivers via:
Get-WmiObject Win32_PnPSignedDriver| select devicename, driverversion | where {$_.devicename -like "I2C*"}
But adding "| Disable-Device
" to the end of the line will not work.
Can anyone tell me how I have to write the command correctly and start the script like an batch file?