drop
1.0.1
Drops elevated privileges (Administrators group made deny-only, Medium
integrity) and runs a command, or an interactive shell when no command is
given. A PowerShell port of busybox-w32's drop/pdrop applets. Useful over
SSH, where an administrator account always gets an elevated session.
Installation Options
Owners
Copyright
(c) 2026 Kevin Swiber. MIT License.
Package Details
Author(s)
- Kevin Swiber
Tags
Windows Security Privileges Elevation UAC Token Administrator SSH
Functions
ConvertTo-CommandLineArg Find-Executable Get-ParentProcessId Get-ProcessPath Write-DropDebug Get-InvokingShell
Dependencies
This script has no dependencies.
Release Notes
FileList
- drop.nuspec
- drop.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.3 | 9 | 10/17/2026 |
| 1.0.2 | 6 | 10/17/2026 |
| 1.0.1 (current version) | 6 | 10/17/2026 |
| 1.0.0 | 6 | 10/17/2026 |