Skip to content

PowerNetbox v4.5.2.2

Released 2026-02-28 - View on GitHub

Improvements

Hardening of IPAM Prefix scope parameters (PR #358)

Follow-up to v4.5.2.1 — we missed addressing the Gemini code review before that release. This version adds the recommended hardening:

  • Pairwise validation: -Scope_Type and -Scope_Id must now be provided together on New-NBIPAMPrefix and Set-NBIPAMPrefix. Using only one throws a clear error message
  • Safer bulk pipeline: When using pipeline input with a legacy site property, the auto-translation to scope_type/scope_id is now skipped if the input object already has an explicit scope_type — preventing conflicting values
  • 4 additional unit tests

Upgrade: powershell Update-Module PowerNetbox -Force

Full Changelog: https://github.com/ctrl-alt-automate/PowerNetbox/compare/v4.5.2.1...v4.5.2.2