Skip to content

Instantly share code, notes, and snippets.

@Sarkie
Sarkie / Scan-LOLDrivers.ps1
Last active May 24, 2023 11:18 — forked from MHaggis/Scan-LOLDrivers.ps1
added a few more error catches and logging etc + added drivers.json on disk support
function Scan-LOLDrivers {
param(
[Parameter(Mandatory = $true)]
[string]$path
)
Add-Type -TypeDefinition @"
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;