MakeMeAdminCLI
1.2.0
PowerShell module for requesting and managing temporary local administrator rights through a secure named pipe service. Allows non-elevated users to request time-limited admin privileges that are automatically revoked.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2025 SharkByte561. MIT License.
Package Details
Author(s)
- SharkByte561
Tags
Admin Administrator Elevation Privilege Security Temporary Windows
Functions
Add-TempAdmin Remove-TempAdmin Get-TempAdminStatus Set-TempAdminConfig Invoke-AsAdmin Install-MakeMeAdminService Uninstall-MakeMeAdminService Test-MakeMeAdminService
PSEditions
Dependencies
This module has no dependencies.
Release Notes
Version 1.2.0:
- Install-MakeMeAdminService: One-command service setup (scheduled task, config, event log)
- Uninstall-MakeMeAdminService: Clean removal of service and all artifacts
- Test-MakeMeAdminService: Validate service health and configuration
- Import-time service check warns if service is not running
Version 1.1.0:
- Invoke-AsAdmin: Launch elevated programs through SYSTEM service via ServiceUI.exe — no UAC prompt
- Reworked exec flow routes through named pipe to service instead of Start-Process -Verb RunAs
- New Event ID 1060 for process launch auditing
- ServiceUI.exe (Microsoft MDT) bundled for desktop session bridging
Version 1.0.0:
- Initial release
- Add-TempAdmin: Request temporary admin rights
- Remove-TempAdmin: Remove admin rights before expiration
- Get-TempAdminStatus: Check current elevation status
- Set-TempAdminConfig: View and modify configuration
- Named pipe communication with elevated service
- Automatic expiration via scheduled tasks
FileList
- MakeMeAdminCLI.nuspec
- config.json
- MakeMeAdminCLI.psd1
- MakeMeAdminCLI.psm1
- ServiceUI.exe
- Private\AdminGroup-Functions.ps1
- Private\Config-Functions.ps1
- Private\Logging-Functions.ps1
- Private\NamedPipe-Client.ps1
- Private\ScheduledTask-Functions.ps1
- Private\Service-Main.ps1
- Public\Add-TempAdmin.ps1
- Public\Get-TempAdminStatus.ps1
- Public\Install-MakeMeAdminService.ps1
- Public\Invoke-AsAdmin.ps1
- Public\Remove-TempAdmin.ps1
- Public\Set-TempAdminConfig.ps1
- Public\Test-MakeMeAdminService.ps1
- Public\Uninstall-MakeMeAdminService.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.2.0 (current version) | 7 | 2/14/2026 |
| 1.1.0 | 7 | 2/10/2026 |
| 1.0.0 | 4 | 1/24/2026 |