internal/config/config.json

{
    "taskSchedulerTasks":[
        {
            "name": "IntuneResourceTrigger-InstallPrinters",
            "triggers":[
                {
                    "triggerType": "Event",
                    "sourceLog": "Microsoft-Windows-NetworkProfile/Operational",
                    "sourceEventID": 4004,
                    "sourceDataName": "NetworkConnectivityLevelChanged",
                    "sourceDataValue": "true"
                },
                {
                    "triggerType": "AtLogon"
                },
                {
                    "triggerType": "AtWorkstationUnlock"
                }
            ],
            "actions":[
                {
                    "actionType": "EncodedCommand",
                    "templateScript": "Start-IntuneResourceTrigger-NetworkChanged.ps1tmpl"
                }
            ],
            "startAfterInstallation": false,
            "group": "builtin\\users"
        },
        {
            "name": "IntuneResourceTrigger-RecordDefaultPrinter",
            "triggers":[
                {
                    "triggerType": "Event",
                    "sourceLog": "Microsoft-Windows-PrintService/Admin",
                    "sourceEventID": 823
                }
            ],
            "actions":[
                {
                    "actionType": "EncodedCommand",
                    "templateScript": "Start-IntuneResourceTrigger-DefaultPrinterChanged.ps1tmpl"
                }
            ],
            "startAfterInstallation": false,
            "group": "builtin\\users"
        }
    ]
}