Skip to content

Instantly share code, notes, and snippets.

View m0unds's full-sized avatar

Chris m0unds

  • Albuquerque, NM
  • 14:14 (UTC -06:00)
  • X @m0unds
View GitHub Profile
@tjeason
tjeason / usbManager.ps1
Last active April 25, 2024 18:00
Enable, disable, and return status of USB Drive access on Windows 10
<#
.SYNOPSIS
Enable or Disable access to Removable Storage
.DESCRIPTION
Powershell script to enable or disable access to Removable Storage.
Requires `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned` before running.
.PARAMETER Status