Skip to content

0.2.6

Latest

Choose a tag to compare

@Norava Norava released this 07 Nov 11:09

Release notes

UsaBanner 0.2.6. What changed since v0.2.4 (2026-10-28):

Group Policy: GPMC can report on the GPO properly

Existing code written GPOs were breaking when DeleteExpiredTaskAfter were set to PT0M. Changing to PT0S. Code DID run but hadn't confirmed how this looked in GPMC and a gpresults /h output. Changed and confirmed!

To repair a GPO an earlier version published, publish again from 0.2.6 with the same -Name. The run rewrites the task and raises the GPO's version; its -WhatIf says Write the task 'UsaBanner sync' and Raise the version by one, so that clients apply the GPO again.

Windows: PowerShell 7 where there is none

  • Under Windows PowerShell 5.1, every command but Enter-UsaPSSession hands itself to pwsh. Where there was none, it stopped and said what to install. Now it offers to install it first: the newest 7.6 MSI GitHub lists, its SHA-256 checked against its release's hashes.sha256 and its Microsoft signature checked, then installed for every user by msiexec, and the command hands itself over as before.
  • Note: It asks my default. Use -Confirm:$false for autodeploy scripts, -WhatIf says what it would install and installs nothing, and a PowerShell that cannot ask (-NonInteractive, no console) stops and says what to do instead. It needs an elevated PowerShell, and says so before it downloads anything.
  • Hosts under the Group Policy are unchanged: its runner never reaches this, and deploy-usawinssh's policy installs their PowerShell 7

The update channel

The first banner

  • Older OG / test code (install.sh, rootfs/, windows/, adsys-startup.sh) has left the repository. Deploy-UsaBanner -ReplaceOldBanner still takes it off any host that has it, and Get-UsaBanner still finds it. The module's messages and help now speak of it in the past. This part was more for MY migration purposes :)

Docs

  • Claude mirrored the Readme in the Gitlab this is worked on in

Claude's Checked Notes:

On the lab domain controller, on an unlinked copy of a published GPO with a scheduled task: UsaBanner's task file as 0.2.5 writes it made GPMC's HTML report fail, and as 0.2.6 writes it the report built.
On a Windows Server 2025 lab member with PowerShell 7 uninstalled: -WhatIf (it would install 7.6.9, read from GitHub), a non-interactive run (it stops, asking nothing), then a real install through Remove-UsaBanner -Confirm:$false (downloaded, both checks passed, installed, handed over; Windows Installer: installation completed, status 0); the host otherwise as before, to the hash.
The suite on the build's tree (main `0a67b275`; tests and prototype/tests): 1867, none skipped.

The assets below are the archive and its SHA256SUMS, built from main by build/New-UsaBannerRelease.ps1; sha256sum --check SHA256SUMS passes beside the archive.