PowerNetbox
The comprehensive PowerShell module for the NetBox REST API - 559 cmdlets covering DCIM, IPAM, Virtualization, Circuits, Tenancy, VPN, Wireless, and the netbox-branching plugin.
Why PowerNetbox
- 100% API coverage — every NetBox endpoint, every CRUD verb, including the netbox-branching plugin
- Cross-platform — PowerShell 5.1 on Windows, PowerShell 7+ on Linux, macOS, and Windows
- Built for scale —
-Brief,-Fields,-Omitswitches and pipeline-based bulk operations keep responses fast on NetBox instances with thousands of objects
Quickstart
# Install
Install-Module -Name PowerNetbox -Scope CurrentUser
# Connect (paste your NetBox API token when prompted)
$cred = Get-Credential -UserName 'api'
Connect-NBAPI -Hostname 'netbox.example.com' -Credential $cred
# Query
Get-NBDCIMDevice -Brief
Latest release
v4.7.0.2 - 2026-09-09
PowerNetbox v4.7.0.2 — bulk error messages on NetBox < 4.7, Scenario suite green on the Docker matrix
Small follow-up to v4.7.0.1.
Fixed
- Bulk create/update errors on NetBox 4.3 – 4.6 are readable again (#480). Those servers answer a failed bulk write with a JSON array (one entry per submitted object); the module rendered it as
[] null []. It now reportsN of M objects failed validation.followed by one[index] field: messageline per failing object — the same format the module already used for the NetBox 4.7 response.
Compatibility
| PowerNetbox | NetBox target | Also supports | PowerShell |
|---|---|---|---|
| 4.7.0.x | 4.7.0 | 4.3.7, 4.4.10, 4.5.10, 4.6.10 | 5.1+ / 7+ |