code: func (ipuc IsPrivilegedUserCheck) Check() (warnings, errorList []error) {
  	errorList = []error{}
  
  	// The "Well-known SID" of Administrator group is S-1-5-32-544
  	// The following powershell will return "True" if run as an administrator, "False" otherwise
  	// See https://msdn.microsoft.com/en-us/library/cc980032.aspx
  	args := []string{"[bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match \"S-1-5-32-544\")"}
  	isAdmin, err := exec.Command("powershell", args...).Output()
  
  	if err != nil {
  		errorList = append(errorList, errors.Wrap(err, "unable to determine if user is running as administrator"))
  	} else if strings.EqualFold(strings.TrimSpace(string(isAdmin)), "false") {
  		errorList = append(errorList, errors.New("user is not running as administrator"))
  	}
  
  	return nil, errorList
  }
docs: // Check validates if an user has elevated (administrator) privileges.