PowerNetbox
The comprehensive PowerShell module for the NetBox REST API - 530 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.6.3.0 - 2026-06-22
NetBox 4.6.3 compatibility, plus the dev work accumulated since v4.6.1.0 — case-insensitive filtering, VirtualMachine enhancements, contact/VLAN-group fixes, and a documentation/standards uplift.
NetBox 4.6.3 compatibility
- Added the MU fiber connector types (
mu,mu-pc,mu-upc,mu-apc) to the-TypeValidateSet onNew-NBDCIMFrontPort/New-NBDCIMRearPort(NetBox #21666). - CI matrix bumped to NetBox 4.6.3 (matrix: 4.6.3 / 4.5.10 / 4.4.10 / 4.3.7); full integration matrix green on all four legs.
Verify-ValidateSetParity -NetboxVersion v4.6.3reports zero drift. NetBox's removal oflocal_context_datafromdcim.Module(#22357) does not affect PowerNetbox (the field was never exposed). Remaining 4.6.2/4.6.3 changes are UI / GraphQL / server-internal with no REST client impact.
Compatibility
| PowerNetbox | NetBox target | Also supports | PowerShell |
|---|---|---|---|
| 4.6.3.x | 4.6.3 | 4.3.7, 4.4.10, 4.5.10 | 5.1+ / 7+ |