Process.Start(psi);
# Launch GPMC if ($DomainFQDN) Start-Process $gpmcPath -ArgumentList "/domain=$DomainFQDN" elseif ($GPOId) Start-Process $gpmcPath -ArgumentList "/gpo:$GPOId" else Start-Process $gpmcPath open group policy management console
FileName = gpmcPath, UseShellExecute = true, Verb = IsAdmin() ? "" : "runas" // Request admin if not elevated ; Process
private void btnOpenGPMC_Click(object sender, EventArgs e) UseShellExecute = true