tauri/tooling/cli.js/scripts/is-admin.ps1

2 lines
98 B
PowerShell
Raw Normal View History

[bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match "S-1-5-32-544");