// Detect It Easy: detection rule file
// Author: Arjan Onwezen

// Rewritten by: DosX

meta("packer", "Quest PowerGUI");

function detect() {
    bDetected = PE.isNetObjectPresent("Quest.PowerGUI.ScriptRunner");

    sOptions = (bDetected && !PE.isConsole()) ? "Hide console" : "";

    sLang = "PowerShell";

    return result();
}