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 © 2022 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk, http://phecoopwm6x7azx26ctuqcp6673bbqkrqfeoiz2wwk36sady5tqbdpqd.onion and http://snippets.bentasker.i2p
hit counter