BatmanAMA / powerbox

Netbox powershell module
MIT License
48 stars 18 forks source link

Set-nbObject should be able to accept objects from the pipeline #3

Closed BatmanAMA closed 6 years ago

BatmanAMA commented 6 years ago

Currently the code below doesn't work and it really should

Invoke-nbApi -resource dcim/devices -query @{name='myserver'} | 
    Set-nbDevice -device_type dl380-gen10

Objects from pipeline should probably: