Commit graph

106 commits

Author SHA1 Message Date
sheffsix
006a645d9d Remove Tags_Slug parameter
In hindsight implementing would create extra work that could be hard to
maintain. Can be easily achieved outside of the function.
2023-03-16 12:28:26 +00:00
sheffsix
ec1eb869b3 Reformatting using OTBS
Also working on defining tags by slug as an extra parameter, which appears
only in Add-NetboxDCIMRearPort currently
2023-03-15 13:55:41 +00:00
sheffsix
115b28a48d Init. functions for cables and cable terminations 2023-03-14 13:05:25 +00:00
sheffsix
9b2b978a7b Added Remove-NetboxDCIMFrontPort function 2023-03-14 12:18:25 +00:00
sheffsix
c179bd434f Added Set-NetboxDCIMFrontPort function 2023-03-14 12:15:51 +00:00
sheffsix
e449565f54 Fixed param list missing Force parameter 2023-03-14 12:01:24 +00:00
sheffsix
36b20f0d28 Added Add-NetboxDCIMFrontPort function 2023-03-14 11:55:54 +00:00
sheffsix
6bd7acab49 Added validate pattern for Color parameter 2023-03-14 11:38:46 +00:00
sheffsix
b8392dc49c Added Remove-NetboxDCIMRearPort function 2023-03-14 11:38:11 +00:00
sheffsix
813f5b7bdc Add Set-NetboxDCIMRearPort function 2023-03-14 10:42:55 +00:00
sheffsix
0557939548 Added Mark_Connected parameter 2023-03-14 10:40:28 +00:00
sheffsix
e40af029cc Create function to get tag information 2023-03-13 17:15:18 +00:00
sheffsix
08ec2853db Parameter type adjustments 2023-03-13 17:14:54 +00:00
sheffsix
3763d97d9a Fix incorrect parameter variable types 2023-03-13 17:13:08 +00:00
sheffsix
ef23a42967 Revert "Revert "Start work on Front and Rear ports""
This reverts commit 4f6625af2d.
2023-03-13 15:29:52 +00:00
sheffsix
9eac0bfacf Add-NetboxDCIMRearPort function 2023-03-13 14:20:11 +00:00
SheffSix
32a417fd2a Fixing #41 2023-03-13 14:20:11 +00:00
sheffsix
4f6625af2d Revert "Start work on Front and Rear ports"
This reverts commit 257709fe2af5af5fbe4496b2d5b68481d80bf101.
2023-03-13 14:17:41 +00:00
sheffsix
15a2e98662 Start work on Front and Rear ports 2023-03-13 14:17:41 +00:00
Ben Claussen
ea93390f8d Correct for OTBS 2023-03-13 14:17:41 +00:00
SheffSix
008c4d41f5 Fixing #41 2023-03-13 14:17:41 +00:00
SheffSix
a4c1886a23
Fixing Interface Type parameter (#42)
* Fixing #41
2023-03-13 09:26:25 -04:00
Ben Claussen
e2a5157790 Remove whitespace 2023-03-10 14:37:49 -05:00
Ben Claussen
27209d6917 Remove references to ValidateDCIMChoice for #40 2023-03-10 14:37:35 -05:00
Ben Claussen
6965f61e6e Add Test-NetboxAPIConnected 2023-03-10 12:20:14 -05:00
Ben Claussen
ddf0a081b4 Remove whitespace 2023-02-24 15:14:04 -05:00
Ben Claussen
d09e20baee Fix conflicts for #38 2023-02-24 13:26:38 -05:00
Ben Claussen
3e0d817267 Fix order of operations for Connect-NetboxAPI
- Move successful connection boolean declaration before call to Get-NetboxContentType
2023-02-24 12:12:54 -05:00
Ben Claussen
5b7f0c658b Merge branch 'contact_functions' into dev 2023-02-24 11:42:39 -05:00
Ben Claussen
5333d10ce0 Merge commit '356bd71ac852c3ab0ecf945e5322a0d5157ed7a8' into dev 2023-02-24 11:41:53 -05:00
Ben Claussen
1fed2d27e6 Fix #28
- Set DefaultParameterSetName = Query
2023-02-24 10:28:16 -05:00
Ben Claussen
6654f798b0 Add Set-NetboxContact 2023-02-24 10:23:10 -05:00
Ben Claussen
35916a5ab7 Add New-NetboxContactAssignment 2023-02-16 09:47:00 -05:00
Ben Claussen
c47d787447 Add Get-NetboxContactAssignment 2023-02-16 09:46:27 -05:00
Ben Claussen
1ec38d3da2 Add call to Get-NetboxContentType in Connect-NetboxAPI and NetboxConfigVariable storage 2023-02-16 09:45:51 -05:00
Ben Claussen
4a0bd1d2d0 Add Get-NetboxContentType 2023-02-16 09:44:29 -05:00
Ben Claussen
b720c03851 Add New-NetboxTenant function 2023-02-15 15:49:49 -05:00
Ben Claussen
c0e18ec134 Move Get-NetboxTenant file to Tenancy/Tenants folder 2023-02-15 15:49:29 -05:00
Ben Claussen
c91d5fd32c Add New-NetboxContactRole function 2023-02-15 15:42:37 -05:00
Ben Claussen
458a4ae7c2 Add New-NetboxContact function 2023-02-15 15:42:09 -05:00
Ben Claussen
6dd82ee688 Add Get-NetboxContactRole function 2023-02-15 15:40:59 -05:00
Ben Claussen
d85f675469 Add Get-NetboxContact function 2023-02-15 15:39:36 -05:00
Claussen
c3621f237e Remove unnecessary file headers 2022-12-06 13:34:52 -05:00
Ben Claussen
cd0d6383e6 Update parent parameter type to string 2022-11-29 11:28:11 -05:00
Ben Claussen
7aedcf8338 Add Site parameter and validation logic 2022-11-28 15:45:19 -05:00
Alexis La Goutte
e29299022e Clear-NetboxCredential: Fix PSSA (trailing whitespace) 2022-06-29 07:59:13 +02:00
Ben Claussen
9dd6bc2b0e Remove old ThrowNetboxRESTError function 2021-09-10 12:44:48 -04:00
Ben Claussen
3e03e1e3ad Add Clear-NetboxCredential
- Grants ability to clear the stored credentials in `$Netboxconfig` variable
2021-09-10 12:43:34 -04:00
Alexis La Goutte
e8a5fdf15d
Enhance (DCIM) Site (#25)
* Site(DCIM): Fix Get without parameter

* Site(DCIM): Fix indent (use 4 spaces for header)

* Site(DCIM): Add New-NetboxDCIMSite for Add DCIM Site

* Site(DCIM): Add Remove-NetboxDCIMSite for Remove DCIM Site
2021-09-10 11:34:37 -04:00
Alexis La Goutte
e162c05900
Fix Publish on PSGallery (with PS Core) (#24)
* Connect: Add System.Web to Type (Assembly) for PS 5.0

* NetboxPS(.psd1): Remove Required Assemblies (System.web) requirement
2021-09-10 11:31:15 -04:00