Releases: christaylorcodes/ConnectWiseAutomateAgent
Releases · christaylorcodes/ConnectWiseAutomateAgent
ConnectWiseAutomateAgent 2.0.0
[2.0.0] - 2026-02-04
Added
Changed
Fixed
[1.0.0] - 2026-02-03
Added
- Health check and auto-remediation system
Test-CWAAHealth— read-only health assessment with configurable checksRepair-CWAA— escalating remediation (restart, reinstall, fresh install)Register-CWAAHealthCheckTask/Unregister-CWAAHealthCheckTask— scheduled task management
- Server connectivity testing —
Test-CWAAServerConnectivitywith auto-discovery and-Quietflag - Windows Event Log integration —
Write-CWAAEventLogwith categorized event IDs (1000-4039) - Lazy networking initialization —
Initialize-CWAANetworkingwith graduated SSL trust (IP bypass, hostname mismatch tolerance, chain rejection unless-SkipCertificateCheck) - Installer cleanup utility —
Clear-CWAAInstallerArtifactsfor pre-install hygiene - Credential redaction —
Get-CWAARedactedValueusing SHA256 hash prefix for safe logging - Private helper functions —
Resolve-CWAAServer,Test-CWAADownloadIntegrity,Remove-CWAAFolderRecursiveto eliminate duplicate code across Install/Uninstall/Update - Comprehensive test suite — 392+ tests across 4 files (structure, mocked, cross-version, live)
- PSScriptAnalyzer configuration —
.PSScriptAnalyzerSettings.psd1with 6 documented suppressions - Input validation hardening —
ValidateScripton mandatory Server params,ValidateRangeon LocationID,ValidatePatternon InstallerToken and TaskName - GitHub Actions CI/CD — smoke test, single-file build artifact, prerelease/stable PSGallery publish
- Build scripts —
SingleFileBuild.ps1,Build-Documentation.ps1,Publish-CWAAModule.ps1 - 6 example scripts — installation, health check monitoring, proxy configuration, troubleshooting diagnostic, GPO deployment, install with health check
- WhatIf/Confirm support on all destructive operations via
SupportsShouldProcess - PowerShell Core compatibility — validated on PowerShell 5.1 and 7+
- CONTRIBUTING.md — development setup, coding conventions, PR workflow, versioning guide
- EditorConfig — consistent formatting across editors (4-space PS, 2-space YAML/JSON)
- Architecture documentation — Mermaid diagrams for module init, install workflow, health check, and system interaction map
Changed
- Module prefix renamed from
LTtoCWAA(all 32LTaliases preserved for backward compatibility) - Variable naming cleanup — all cryptic names replaced with descriptive names (
$Svr→$automateServerUrl,$tmpLTSI→$restartThreshold, etc.) - Error handling standardization — consistent Try-Catch-Finally with context-aware error messages throughout
- Debug/logging overhaul —
Write-Debugin Begin/Process/End blocks for all functions - Server loop refactored — duplicated ~300-line server validation loop in Install/Uninstall/Update extracted to
Resolve-CWAAServer - Download integrity checks — centralized in
Test-CWAADownloadIntegrity(was inline in 3 files) - Folder cleanup — centralized in
Remove-CWAAFolderRecursive(was inline in 2 files)
Fixed
- LocationID type — changed from
[string]to[int]onRedo-CWAAto match validation - Empty catch blocks — all empty catch blocks now log via
Write-Debug
Security
- Graduated SSL certificate validation — replaces blanket bypass with IP auto-bypass, hostname mismatch tolerance, and chain rejection
- Vulnerability check —
Install-CWAAwarns when server is below v200.197 (June 2020 CVE) - Password redaction — installer command-line arguments sanitized in debug output
[0.1.4.0] - 2024-01-15
Added
- Initial public release of ConnectWiseAutomateAgent module
- 25 public functions for agent lifecycle management
- 32 legacy
LTaliases for backward compatibility - Single-file distribution build (
ConnectWiseAutomateAgent.ps1) - Basic Pester test suite
- Comment-based help on all public functions
Functions
Install-CWAA/Uninstall-CWAA/Update-CWAA/Redo-CWAA— agent lifecycleStart-CWAA/Stop-CWAA/Restart-CWAA— service managementGet-CWAAInfo/Get-CWAASettings/Get-CWAAInfoBackup— agent informationNew-CWAABackup/Reset-CWAA— backup and resetGet-CWAAError/Get-CWAAProbeError— log retrievalGet-CWAALogLevel/Set-CWAALogLevel— log configurationGet-CWAAProxy/Set-CWAAProxy— proxy managementHide-CWAAAddRemove/Show-CWAAAddRemove/Rename-CWAAAddRemove— Add/Remove Programs controlConvertTo-CWAASecurity/ConvertFrom-CWAASecurity— TripleDES encryption interopInvoke-CWAACommand— send commands to agent serviceTest-CWAAPort— TrayPort availability check
ConnectWiseAutomateAgent 2.0.0-alpha0039
[2.0.0-alpha0039] - 2026-02-04
Added
Changed
Fixed
[1.0.0] - 2026-02-03
Added
- Health check and auto-remediation system
Test-CWAAHealth— read-only health assessment with configurable checksRepair-CWAA— escalating remediation (restart, reinstall, fresh install)Register-CWAAHealthCheckTask/Unregister-CWAAHealthCheckTask— scheduled task management
- Server connectivity testing —
Test-CWAAServerConnectivitywith auto-discovery and-Quietflag - Windows Event Log integration —
Write-CWAAEventLogwith categorized event IDs (1000-4039) - Lazy networking initialization —
Initialize-CWAANetworkingwith graduated SSL trust (IP bypass, hostname mismatch tolerance, chain rejection unless-SkipCertificateCheck) - Installer cleanup utility —
Clear-CWAAInstallerArtifactsfor pre-install hygiene - Credential redaction —
Get-CWAARedactedValueusing SHA256 hash prefix for safe logging - Private helper functions —
Resolve-CWAAServer,Test-CWAADownloadIntegrity,Remove-CWAAFolderRecursiveto eliminate duplicate code across Install/Uninstall/Update - Comprehensive test suite — 392+ tests across 4 files (structure, mocked, cross-version, live)
- PSScriptAnalyzer configuration —
.PSScriptAnalyzerSettings.psd1with 6 documented suppressions - Input validation hardening —
ValidateScripton mandatory Server params,ValidateRangeon LocationID,ValidatePatternon InstallerToken and TaskName - GitHub Actions CI/CD — smoke test, single-file build artifact, prerelease/stable PSGallery publish
- Build scripts —
SingleFileBuild.ps1,Build-Documentation.ps1,Publish-CWAAModule.ps1 - 6 example scripts — installation, health check monitoring, proxy configuration, troubleshooting diagnostic, GPO deployment, install with health check
- WhatIf/Confirm support on all destructive operations via
SupportsShouldProcess - PowerShell Core compatibility — validated on PowerShell 5.1 and 7+
- CONTRIBUTING.md — development setup, coding conventions, PR workflow, versioning guide
- EditorConfig — consistent formatting across editors (4-space PS, 2-space YAML/JSON)
- Architecture documentation — Mermaid diagrams for module init, install workflow, health check, and system interaction map
Changed
- Module prefix renamed from
LTtoCWAA(all 32LTaliases preserved for backward compatibility) - Variable naming cleanup — all cryptic names replaced with descriptive names (
$Svr→$automateServerUrl,$tmpLTSI→$restartThreshold, etc.) - Error handling standardization — consistent Try-Catch-Finally with context-aware error messages throughout
- Debug/logging overhaul —
Write-Debugin Begin/Process/End blocks for all functions - Server loop refactored — duplicated ~300-line server validation loop in Install/Uninstall/Update extracted to
Resolve-CWAAServer - Download integrity checks — centralized in
Test-CWAADownloadIntegrity(was inline in 3 files) - Folder cleanup — centralized in
Remove-CWAAFolderRecursive(was inline in 2 files)
Fixed
- LocationID type — changed from
[string]to[int]onRedo-CWAAto match validation - Empty catch blocks — all empty catch blocks now log via
Write-Debug
Security
- Graduated SSL certificate validation — replaces blanket bypass with IP auto-bypass, hostname mismatch tolerance, and chain rejection
- Vulnerability check —
Install-CWAAwarns when server is below v200.197 (June 2020 CVE) - Password redaction — installer command-line arguments sanitized in debug output
[0.1.4.0] - 2024-01-15
Added
- Initial public release of ConnectWiseAutomateAgent module
- 25 public functions for agent lifecycle management
- 32 legacy
LTaliases for backward compatibility - Single-file distribution build (
ConnectWiseAutomateAgent.ps1) - Basic Pester test suite
- Comment-based help on all public functions
Functions
Install-CWAA/Uninstall-CWAA/Update-CWAA/Redo-CWAA— agent lifecycleStart-CWAA/Stop-CWAA/Restart-CWAA— service managementGet-CWAAInfo/Get-CWAASettings/Get-CWAAInfoBackup— agent informationNew-CWAABackup/Reset-CWAA— backup and resetGet-CWAAError/Get-CWAAProbeError— log retrievalGet-CWAALogLevel/Set-CWAALogLevel— log configurationGet-CWAAProxy/Set-CWAAProxy— proxy managementHide-CWAAAddRemove/Show-CWAAAddRemove/Rename-CWAAAddRemove— Add/Remove Programs controlConvertTo-CWAASecurity/ConvertFrom-CWAASecurity— TripleDES encryption interopInvoke-CWAACommand— send commands to agent serviceTest-CWAAPort— TrayPort availability check
ConnectWiseAutomateAgent 2.0.0-alpha0038
[2.0.0-alpha0038] - 2026-02-04
Added
Changed
Fixed
[1.0.0] - 2026-02-03
Added
- Health check and auto-remediation system
Test-CWAAHealth— read-only health assessment with configurable checksRepair-CWAA— escalating remediation (restart, reinstall, fresh install)Register-CWAAHealthCheckTask/Unregister-CWAAHealthCheckTask— scheduled task management
- Server connectivity testing —
Test-CWAAServerConnectivitywith auto-discovery and-Quietflag - Windows Event Log integration —
Write-CWAAEventLogwith categorized event IDs (1000-4039) - Lazy networking initialization —
Initialize-CWAANetworkingwith graduated SSL trust (IP bypass, hostname mismatch tolerance, chain rejection unless-SkipCertificateCheck) - Installer cleanup utility —
Clear-CWAAInstallerArtifactsfor pre-install hygiene - Credential redaction —
Get-CWAARedactedValueusing SHA256 hash prefix for safe logging - Private helper functions —
Resolve-CWAAServer,Test-CWAADownloadIntegrity,Remove-CWAAFolderRecursiveto eliminate duplicate code across Install/Uninstall/Update - Comprehensive test suite — 392+ tests across 4 files (structure, mocked, cross-version, live)
- PSScriptAnalyzer configuration —
.PSScriptAnalyzerSettings.psd1with 6 documented suppressions - Input validation hardening —
ValidateScripton mandatory Server params,ValidateRangeon LocationID,ValidatePatternon InstallerToken and TaskName - GitHub Actions CI/CD — smoke test, single-file build artifact, prerelease/stable PSGallery publish
- Build scripts —
SingleFileBuild.ps1,Build-Documentation.ps1,Publish-CWAAModule.ps1 - 6 example scripts — installation, health check monitoring, proxy configuration, troubleshooting diagnostic, GPO deployment, install with health check
- WhatIf/Confirm support on all destructive operations via
SupportsShouldProcess - PowerShell Core compatibility — validated on PowerShell 5.1 and 7+
- CONTRIBUTING.md — development setup, coding conventions, PR workflow, versioning guide
- EditorConfig — consistent formatting across editors (4-space PS, 2-space YAML/JSON)
- Architecture documentation — Mermaid diagrams for module init, install workflow, health check, and system interaction map
Changed
- Module prefix renamed from
LTtoCWAA(all 32LTaliases preserved for backward compatibility) - Variable naming cleanup — all cryptic names replaced with descriptive names (
$Svr→$automateServerUrl,$tmpLTSI→$restartThreshold, etc.) - Error handling standardization — consistent Try-Catch-Finally with context-aware error messages throughout
- Debug/logging overhaul —
Write-Debugin Begin/Process/End blocks for all functions - Server loop refactored — duplicated ~300-line server validation loop in Install/Uninstall/Update extracted to
Resolve-CWAAServer - Download integrity checks — centralized in
Test-CWAADownloadIntegrity(was inline in 3 files) - Folder cleanup — centralized in
Remove-CWAAFolderRecursive(was inline in 2 files)
Fixed
- LocationID type — changed from
[string]to[int]onRedo-CWAAto match validation - Empty catch blocks — all empty catch blocks now log via
Write-Debug
Security
- Graduated SSL certificate validation — replaces blanket bypass with IP auto-bypass, hostname mismatch tolerance, and chain rejection
- Vulnerability check —
Install-CWAAwarns when server is below v200.197 (June 2020 CVE) - Password redaction — installer command-line arguments sanitized in debug output
[0.1.4.0] - 2024-01-15
Added
- Initial public release of ConnectWiseAutomateAgent module
- 25 public functions for agent lifecycle management
- 32 legacy
LTaliases for backward compatibility - Single-file distribution build (
ConnectWiseAutomateAgent.ps1) - Basic Pester test suite
- Comment-based help on all public functions
Functions
Install-CWAA/Uninstall-CWAA/Update-CWAA/Redo-CWAA— agent lifecycleStart-CWAA/Stop-CWAA/Restart-CWAA— service managementGet-CWAAInfo/Get-CWAASettings/Get-CWAAInfoBackup— agent informationNew-CWAABackup/Reset-CWAA— backup and resetGet-CWAAError/Get-CWAAProbeError— log retrievalGet-CWAALogLevel/Set-CWAALogLevel— log configurationGet-CWAAProxy/Set-CWAAProxy— proxy managementHide-CWAAAddRemove/Show-CWAAAddRemove/Rename-CWAAAddRemove— Add/Remove Programs controlConvertTo-CWAASecurity/ConvertFrom-CWAASecurity— TripleDES encryption interopInvoke-CWAACommand— send commands to agent serviceTest-CWAAPort— TrayPort availability check