psutils
gsudo
psutils | gsudo | |
---|---|---|
2 | 46 | |
545 | 4,851 | |
- | - | |
1.3 | 8.4 | |
about 2 months ago | about 1 month ago | |
PowerShell | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
psutils
-
Sudo for Windows
I already use https://github.com/lukesampson/psutils which has a sudo.ps1, which I install via scoop (I know that's a mouthful, but I just install scoop and run `scoop install sudo`). I used it from powershell literally just before I opened this article (after copy-pasting a password, I copy some random text laying around in the browser, like "com", then run `sudo restart-service -name 'cbdhsvc*'` to clear the clipboard). There is a UAC prompt, but it's perfectly adequate for interactive work.
-
Why is my access denied on my pc
Just install sudo: https://github.com/lukesampson/psutils
gsudo
-
Microsoft is bringing Linux's sudo command to Windows 11
There's already a similar tool that does sudo on Windows: https://github.com/gerardog/gsudo
-
Sudo for Windows
Well, sudo for Windows has been a thing for, like, a few years now?... https://github.com/gerardog/gsudo
Not sure if this is the same thing, but this definitely should have shipped with the very first implementation of "oh, sure, you're an Administrator, but not really, since we're ignoring that bit" a.k.a. User Account Control.
That would have saved about a metric ton of misguided "here's how to turn off UAC" tutorials, but, ehm, yeah, anything to inject some life into the moribund Windows Insiders Program (the one where https://blogs.windows.com/windows-insider/ proudly headlines "What’s coming for the Windows Insider Program in 2023"), right?
-
How many cycles does your battery have?
Running powercfg /batteryreport in an command prompt with Admin privilege (or through gsudo) and opening battery-report.html in the directory where you ran it.
- Gsudo: Sudo for Windows
-
Windows Terminal Preview 1.18 Release
gsudo is your friend here.
- what is the command to change to a non admin user (guest) on cmd?
-
Using sudo commands on in PS
Or, if you prefer: Gerardog's gsudo on Github.
-
The amount of times I have accidentally done this...
Sudo works perfectly fine on Windows as well using gsudo.
-
Windows Terminal is now the default Windows 11 22H2 console
I wish gsudo was integrated, but otherwise, I've been very happy with Windows Terminal. Glad to see it finally in.
What are some alternatives?
sudo - It's sudo, for Windows
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
Chocolatey - Chocolatey - the package manager for Windows
Scoop - A command-line installer for Windows.
node-runas - Run command synchronously (with Administrator privilege)
usbipd-win - Windows software for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL 2.
win-sudo - Add `sudo` command to Git Bash
winget-cli - WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
caffeinate
winget-pkgs - The Microsoft community Windows Package Manager manifest repository
Invoke-CommandAs - Invoke Command As System/Interactive/GMSA/User on Local/Remote machine & returns PSObjects.
far2l - Linux port of FAR v2