Config/config.psd1

@{
    SchemaVersion = '1.0.0'
    
    Application = @{
        Name              = 'PsPatchMyPC'
        LogLevel          = 'Information'
        MaxLogSizeMB      = 50
        LogRetentionDays  = 30
    }
    
    Updates = @{
        CheckIntervalHours     = 4
        InstallWindowStart     = '03:00'
        InstallWindowEnd       = '05:00'
        RebootGraceMinutes     = 1440
        SkipMeteredConnections = 'true'
        MaxConcurrentInstalls  = 1
        RetryCount             = 3
        RetryDelayMinutes      = 5
    }
    
    Deferrals = @{
        Mode                      = 'CountAndDeadline'
        MaxCount                  = 5
        DeadlineDays              = 7
        ApproachingWindowHours    = 72
        ImminentWindowHours       = 24
        InitialRefreshSeconds     = 18000
        ApproachingRefreshSeconds = 6000
        ImminentRefreshSeconds    = 600
        ElapsedRefreshSeconds     = 300
    }
    
    Notifications = @{
        EnableToasts          = 'true'
        EnableDeferralDialog  = 'true'
        EnableProgressDialog  = 'true'
        ToastDurationSeconds  = 10
        DialogTimeoutSeconds  = 300
        EnableAggressiveMode  = 'true'
        HideOtherWindows      = 'true'
        BlurBackground        = 'false'
        CompanyName           = 'IT Department'
        CompanyLogoPath       = ''
        AccentColor           = '#0078D4'
        ToastTitle            = 'Software Update Available'
        ToastMessage          = 'A software update is ready to install. Click to proceed.'
        DialogTitle           = 'Update Required'
        DialogMessage         = 'Critical updates are ready to install. Save your work.'
    }
    
    ApplicationManagement = @{
        Mode              = 'Allowlist'
        CatalogPath       = ''
        AutoAddNewApps    = 'false'
        ProcessTimeout    = 300
        ForceCloseOnTimeout = 'true'
    }
    
    Enterprise = @{
        EnableIntuneReporting    = 'false'
        IntuneLogSymlink         = 'true'
        EnableEventLog           = 'true'
        EventLogSource           = 'PsPatchMyPC'
        EnableFleetDMReporting   = 'false'
        PrivateSourceName        = ''
        PrivateSourceUrl         = ''
        PrivateSourceType        = 'Microsoft.Rest'
    }
    
    Scheduling = @{
        EnableScheduledTasks = 'true'
        UpdateEngineTime     = '03:00'
        UserNotificationTime = '09:00'
        TaskPath             = '\PsPatchMyPC\'
    }
}