Skip to content

v0.5.5#9

Merged
Stensel8 merged 12 commits intomainfrom
testing
Nov 19, 2025
Merged

v0.5.5#9
Stensel8 merged 12 commits intomainfrom
testing

Conversation

@Stensel8
Copy link
Owner

[0.5.5] - 2025-11-20

Added

  • Additional fallback to CDN if Microsoft 365 apps fail to install via Winget.
  • Added additional error messages during application installation to keep users informed of the process status.
  • Memory integrity will now be enabled during hardening if supported by the system.
  • Extra Try/Catch blocks around critical sections to improve error handling.
  • Short demo GIF showcasing the deployment process added to the README.md.

Changed

  • Enhanced the startup banner to reflect session details, such as admin/non-admin status, PowerShell version (5 or 7), and Windows Terminal usage. This informs users about script execution and available controls. Also added a 15-second timer to allow cancellation if the script was launched unintentionally.

@Stensel8 Stensel8 self-assigned this Nov 19, 2025
@Stensel8 Stensel8 added core: enhancement Improvement to existing functionality priority: low Minor issue or nice-to-have core: documentation Documentation improvements phase: deployment Deployment phase - HBO-i competency: Managing labels Nov 19, 2025
@Stensel8 Stensel8 added this to the Implementation & Realization Complete milestone Nov 19, 2025

# Clear screen and show banner and warning
Clear-Host
Write-Host "============================================================" -ForegroundColor Cyan

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
# Clear screen and show banner and warning
Clear-Host
Write-Host "============================================================" -ForegroundColor Cyan
Write-Host " Windows Deployment Automation Toolkit" -ForegroundColor Yellow

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
Clear-Host
Write-Host "============================================================" -ForegroundColor Cyan
Write-Host " Windows Deployment Automation Toolkit" -ForegroundColor Yellow
Write-Host "============================================================" -ForegroundColor Cyan

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
Write-Host " Windows Deployment Automation Toolkit" -ForegroundColor Yellow
Write-Host "============================================================" -ForegroundColor Cyan
if ($version) {
Write-Host "Version: $version" -ForegroundColor Green

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
if ($version) {
Write-Host "Version: $version" -ForegroundColor Green
}
Write-Host ""

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
Write-Host "Right click to resume" -ForegroundColor Green
Write-Host "CTRL + C to cancel" -ForegroundColor Red
Write-Host ""
Write-Host "=========================================" -ForegroundColor Cyan

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
Write-Host "CTRL + C to cancel" -ForegroundColor Red
Write-Host ""
Write-Host "=========================================" -ForegroundColor Cyan
Write-Host ""

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

# Countdown before starting
for ($i = 15; $i -gt 0; $i--) {
Write-Host "`rStarting deployment in $i seconds... (Press CTRL+C to cancel)" -ForegroundColor Yellow -NoNewline

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
Write-Host "`rStarting deployment in $i seconds... (Press CTRL+C to cancel)" -ForegroundColor Yellow -NoNewline
Start-Sleep -Seconds 1
}
Write-Host "`rStarting deployment now! " -ForegroundColor Green

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
Start-Sleep -Seconds 1
}
Write-Host "`rStarting deployment now! " -ForegroundColor Green
Write-Host ""

Check warning

Code scanning / PSScriptAnalyzer

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning

File 'Deploy.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
@Stensel8 Stensel8 merged commit 6f594fb into main Nov 19, 2025
4 checks passed
@Stensel8 Stensel8 deleted the testing branch November 19, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core: documentation Documentation improvements core: enhancement Improvement to existing functionality phase: deployment Deployment phase - HBO-i competency: Managing priority: low Minor issue or nice-to-have

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant