tauri/tooling/cli.js/scripts/is-admin.ps1
2021-04-12 01:59:25 -03:00

2 lines
98 B
PowerShell

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