uscheduler/examples/SchedulerTemplate.psd1
2026-01-28 20:09:35 +01:00

54 lines
1.8 KiB
PowerShell

@{
RootModule = 'SchedulerTemplate.psm1'
ModuleVersion = '1.0.2'
GUID = 'a3b2c1d0-e4f5-6a7b-8c9d-0e1f2a3b4c5d'
Author = 'MaksIT'
CompanyName = 'MaksIT'
Copyright = '(c) 2026 MaksIT. All rights reserved.'
Description = 'Reusable PowerShell module for scheduled script execution with lock files, interval control, and credential management.'
PowerShellVersion = '5.1'
FunctionsToExport = @(
'Write-Log',
'Get-CredentialFromEnvVar',
'Test-UNCPath',
'Get-CurrentUtcDateTime',
'Test-ScheduleMonth',
'Test-ScheduleWeekday',
'Test-ScheduleTime',
'Test-Schedule',
'Test-Interval',
'Test-ScheduledExecution',
'New-LockGuard',
'Remove-LockGuard',
'Send-EmailNotification',
'Invoke-ScheduledExecution'
)
CmdletsToExport = @()
VariablesToExport = @('ModuleVersion', 'ModuleDate')
AliasesToExport = @()
PrivateData = @{
PSData = @{
Tags = @('Scheduler', 'Automation', 'Lock', 'Logging', 'Credentials', 'Email')
LicenseUri = ''
ProjectUri = 'https://github.com/MaksIT/uscheduler'
ReleaseNotes = @'
## 1.0.2 (2026-01-28)
- Added Send-EmailNotification function for SMTP email sending
- Supports SSL/TLS and credential-based authentication
## 1.0.1 (2026-01-26)
- Improved UNC path validation (Test-UNCPath function)
- Enhanced credential management
## 1.0.0 (2026-01-24)
- Comprehensive logging with timestamp support
- Scheduled execution with lock files and interval control
- Schedule validation (month, weekday, time)
- Write-Log function with severity levels and color support
- Get-CredentialFromEnvVar for secure Base64-encoded credential retrieval
- Invoke-ScheduledExecution for automated scheduled task management
'@
}
}
}