def rule(event):
    if all(
        [
            "Get-AdComputer " in event.deep_get("ScriptBlockText", default=""),
            any(
                [
                    "-Filter " in event.deep_get("ScriptBlockText", default=""),
                    "-LDAPFilter " in event.deep_get("ScriptBlockText", default=""),
                    "-Properties " in event.deep_get("ScriptBlockText", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
