Skip to content

PowerNetbox v4.6.0.1

Released 2026-05-15 - View on GitHub

PowerNetbox v4.6.0.1

Target: NetBox 4.6.0 · Minimum: NetBox 4.3+ · PowerShell: 5.1+ / 7+, cross-platform

The substantive NetBox 4.6 surface — four new endpoint families plus field additions to existing models — all verified live against the NetBox 4.6.0 OpenAPI schema. Follows v4.6.0.0 (which was minimal-compat). Tracked under umbrella issue #395.

New endpoint families (16 new cmdlets)

Endpoint Cmdlets NetBox
RackGroup /api/dcim/rack-groups/ Get/New/Set/Remove-NBDCIMRackGroup netbox#20961
VirtualMachineType /api/virtualization/virtual-machine-types/ Get/New/Set/Remove-NBVirtualMachineType netbox#5795
CableBundle /api/dcim/cable-bundles/ Get/New/Set/Remove-NBDCIMCableBundle netbox#20151
VirtualDisk /api/virtualization/virtual-disks/ Get/New/Set/Remove-NBVirtualDisk netbox#21455 (closes #413)

Each follows the standard four-cmdlet pattern (auto-slug on New- where applicable, AssertNBMutualExclusiveParam on Get-, [object[]]$Tags, -Raw, ShouldProcess).

Field additions to existing models

  • ASNNew/Set -Role (FK; Set clears with $null), Get -Role_Id filter (netbox#17654)
  • ModuleBayNew/Set -Enabled [bool] (netbox#20152)
  • VirtualMachineNew/Set -Device + -Virtual_Machine_Type (FKs; Set clears with $null). -Cluster was already optional, so the 4.6 "clusterless VM" change needed no redesign (netbox#12024 / #5795)
  • RackNew/Set -Airflow + -Form_Factor [ValidateSet]; Set clears the field server-side via the '' empty-string sentinel (same pattern as Set-NBDCIMInterface)

VirtualMachineType.Default_vCPUs is typed [decimal] (the live schema is number/double, min 0.01 — supports fractional vCPUs).

Documentation

  • docs.powernetbox.dev now auto-generates reference pages for all new cmdlets via the platyPS generator + docs.yml. New .PARAMETER help present and rendered.
  • README slimmed from 521 → 124 lines: a landing card pointing at the docs site, hand-maintained changelog removed (it now lives at the generated release-notes page + GitHub Releases — single source of truth).
  • Home-page compatibility table is now derived from the CI integration matrix + the manifest, not hand-maintained (kills the previous 3-way drift).

CI / build reproducibility

  • docs-build/requirements.txt now pins the transitive doc toolchain (markdown==3.10.2, pygments==2.19.2). An unpinned Pygments 2.20.0 had broken pymdownx.superfences site-wide; pinning makes the docs build reproducible.
  • docs.yml deploy restricted to dev/main only (feature branches build-test but never publish to production).
  • Dependabot github-actions PRs now correctly target dev.
  • CI matrix covers NetBox 4.3.7 / 4.4.10 / 4.5.10 / 4.6.0.

Verification

  • Unit suite (CI-equivalent, ./Tests/*.Tests.ps1, ExcludeTag Integration,Live): 2343 passed, 0 failed
  • Integration matrix green on dev across all four NetBox versions
  • Verify-ValidateSetParity vs v4.6.0: All ValidateSets match (14 exemptions)

Contributors

Thanks to @mkarel (Matt Karel) — VirtualDisk (#413), credited via Co-Authored-By, consistent with #366 / #398 / #409.


🔐 Verify this release against its GitHub build-provenance attestation:

$m = Get-Module -ListAvailable PowerNetbox | Where-Object Version -eq '4.6.0.1' | Select-Object -First 1
gh attestation verify $m.Path --repo ctrl-alt-automate/PowerNetbox