def rule(event):
    if all(
        [
            "Launch-VsDevShell.ps1" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "VsWherePath " in event.deep_get("CommandLine", default=""),
                    "VsInstallationPath " in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
