def rule(event):
    if " WindowsPowerShell/" in event.deep_get("c-useragent", default=""):
        return True
    return False
