NetboxPS icon indicating copy to clipboard operation
NetboxPS copied to clipboard

Add netbox dcim platform

Open tigpas opened this issue 4 months ago • 0 comments

After https://github.com/benclaussen/NetboxPS/pull/60

I whould like to add the add/remove/set for DCIM/Platform. I moved Get-NetboxDCIMPlatform.ps1 to the correct folder.

For autogenerating slugs, I created an helper function. If this is accepted, all generating of slugs should be updated

     if (-not $PSBoundParameters.ContainsKey('slug')) {
-        $PSBoundParameters.Add('slug', $name)
+        $PSBoundParameters.Add('slug', $($name | Get-NetboxSlug))
     }

tigpas avatar Oct 05 '24 16:10 tigpas