Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

Add netbox dcim platform#67

Open
tigpas wants to merge 6 commits into
benclaussen:devfrom
tigpas:add-NetboxDCIMPlatform
Open

Add netbox dcim platform#67
tigpas wants to merge 6 commits into
benclaussen:devfrom
tigpas:add-NetboxDCIMPlatform

Conversation

@tigpas
Copy link
Copy Markdown

@tigpas tigpas commented Oct 5, 2024

After #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))
     }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant