List USB Flash Drive History



Published: 2018-07-01 10:36:49 +0000
Categories: PowerShell,

Language

PowerShell

Description

Prints a list of all the "Friendly" names of USB flash drives that have been plugged into a Windows machine at some point.

Based On

Snippet

Get-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Enum\USBSTOR\*\* | Select FriendlyName

Keywords

Powershell, USB drives, flash drives, enumerate, list, history, Windows,

Latest Posts


Copyright © 2019 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk and snippets.6zdgh5a5e6zpchdz.onion