This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Simple script to check drivers in C:\windows\system32\drivers against the loldrivers list | |
| # Author: Oddvar Moe - @oddvar.moe | |
| # Fork changes: | |
| # Drivers can also reside in driverstore\filerepository subdir | |
| # To check them also, $drivers should be with -recurse and get-filehash from real file $drivers file rather than assumed system32 path with filename | |
| $drivers = get-childitem -Path c:\windows\system32\drivers -recurse | |
| $web_client = new-object system.net.webclient | |
| $loldrivers = $web_client.DownloadString(" https://www.loldrivers.io/api/drivers.json") | ConvertFrom-Json |