Unable to assing IP to VM
Hi community, I have an issue when i am trying to assign value bigger than Unit16 limit to Assigned_Object_Id .
This completes fine PS C:\Windows\system32> Set-NetboxIPAMAddress -Assigned_Object_Type virtualization.vminterface -Id 158617 -Assigned_Object_Id 54000
This blow up with message:
PS C:\Windows\system32> Set-NetboxIPAMAddress -Assigned_Object_Type virtualization.vminterface -Id 158617 -Assigned_Object_Id 79454 Set-NetboxIPAMAddress : Cannot process argument transformation on parameter 'Assigned_Object_Id'. Cannot convert value "79454" to type "System.UInt16". Error: "Value was either too large or too small for a UInt16." At line:1 char:103
- ... _Type virtualization.vminterface -Id 158617 -Assigned_Object_Id 79454
-
~~~~~- CategoryInfo : InvalidData: (:) [Set-NetboxIPAMAddress], ParameterBindingArgumentTransformationExceptio n
- FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-NetboxIPAMAddress
I tried to exam the function itself but all is unit64. Any suggestions would be highly appreciated.
Can you please ensure you are running the latest version 1.8.4?
Big Ben, thanks a lot! That works fantastic! That new version from last days is impeccable.