NetboxPS icon indicating copy to clipboard operation
NetboxPS copied to clipboard

Device_Role parameter deprecated in Netbox, New-NetboxDCIMDevice.ps1

Open jdockx opened this issue 1 year ago • 0 comments

The parameter Device_Role used in the cmdlet New-NetboxDCIMDevice.ps1 has been deprecated in Netbox. This causes the cmdlet to no longer function.

Proposed fix: change the parameter name $Device_Role on line 13 in this file to $Role. This has been tested and has been found working by me.

If anyone is running in to this issue no their machine, the fix would be to adjust line 3903 of the NetboxPS.psm1 file to the same values as mentioned above.

jdockx avatar Jun 12 '24 09:06 jdockx