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
010fb0410b
Increment version to 1.7.0
2023-02-24 11:51:04 -05:00
Ben Claussen
44dc6c86a2
Update deploy.ps1
2023-02-24 11:46:06 -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
f289854ddf
Merge branch 'dev' of https://github.com/benclaussen/NetboxPS into dev
2023-02-24 11:39:57 -05:00
Ben Claussen
1fed2d27e6
Fix #28
...
- Set DefaultParameterSetName = Query
2023-02-24 10:28:16 -05:00
Ben Claussen
c1a0675b02
Update psproj
2023-02-24 10:23:27 -05:00
Ben Claussen
6654f798b0
Add Set-NetboxContact
2023-02-24 10:23:10 -05:00
Ben Claussen
aa444871a4
Update psproj
2023-02-16 15:05:28 -05:00
Ben Claussen
1f3626f319
Update test version to 1.6.0
2023-02-16 09:49:13 -05:00
Ben Claussen
356bd71ac8
Remove invalid logic from deploy.ps1
2023-02-16 09:48:35 -05:00
Ben Claussen
f5c94b206f
Update psproj
2023-02-16 09:48:06 -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
8b8ca091b1
Update psproj
2023-02-15 15:50:05 -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
049745554e
Update psproj
2023-02-15 15:43:12 -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
Alexis La Goutte
d7c008871d
Tests (integration) DCIM ( #34 )
...
* Tests: Add Initial support of Integration (using Pester v5)
* Site: Add Tests for New/Get/Remove (DCIM) Site
2022-12-06 13:49:35 -05:00
weidi
ea75e796ef
Add Basic usage in README.md ( #30 )
2022-12-06 13:48:46 -05:00
Claussen
6b8caf0bd7
1.5.6 - production function exports
2022-12-06 13:36:44 -05:00
Claussen
e7a67328bf
1.5.5
2022-12-06 13:35:56 -05:00
Claussen
ff0c0127cd
Add explicit FunctionsToExport
2022-12-06 13:35:47 -05:00
Claussen
c3621f237e
Remove unnecessary file headers
2022-12-06 13:34:52 -05:00
Ben Claussen
cad361c1b4
Update deploy.ps1 with new logic
2022-12-01 09:46:13 -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
cb4e2f2f57
Merge pull request #35 from alagoutte/fix-pssa
...
Clear-NetboxCredential: Fix PSSA (trailing whitespace)
2022-07-06 21:48:15 +02: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
7edbae953f
Tests: Fix PSSA ( #27 )
...
* Tests: fix indent/align (with Visual Formatter Code)
* Tests: Suppress warning about use ConvertToSecureString...
* Setup(Tests): fix PSSA about unused variable
2021-09-10 11:38:00 -04:00
Alexis La Goutte
a608d6ebd7
Fix PSSA deploy(.ps1) warning ( #26 )
...
* Deploy: fix indent (remove trailing whitespace)
* Deploy(.ps1): Remove PSSA warning about don't use Write-host
* Deploy(.ps1): Remove PSSA warning unused variable
false positive (it is used for ParameterSet...)
2021-09-10 11:35:49 -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
Ben Claussen
c8e0a96690
Merge branch 'master' into dev
2021-07-23 16:22:19 -04:00
Ben Claussen
30ae377493
Increment version to 1.5.0
2021-07-23 16:19:03 -04:00
Ben Claussen
c11680a20e
Remove unused files
2021-07-23 16:16:13 -04:00
Ben Claussen
f9fc02756c
Update readme
2021-07-23 16:15:46 -04:00
Ben Claussen
48452ce686
Update deploy.ps1 docs
2021-07-23 16:15:34 -04:00
Alexis La Goutte
42b00279cb
Add release.(yml) Github Actions ( #21 )
...
It will push on PSGallery module when release a new version !
2021-07-23 16:12:46 -04:00
Alexis La Goutte
8167b0dbf0
Fix PSSA Warning ( #20 )
...
* Fix trailing white space
using Invoke-ScriptAnalyzer -Fix -Path . -Recurse
* add settings.json for configure Visual Code (Formatter)
* PSSA: Fix Command accepts pipeline input but has not defined a process block
* PSSA: Fix PSUseDeclaredVarsMoreThanAssignments
The variable 'I_B' is assigned but never used
The variable 'I_A' is assigned but never used
* PSSA: Fix PSUseShouldProcessForStateChangingFunctions
Function New-/Set-... has verb that could change system state. Therefore, the function has to support 'ShouldProcess'
2021-07-23 16:06:42 -04:00
Alexis La Goutte
ddf1d22e18
Add Assigned Object (Type and ID) to New IPAM Address ( #19 )
...
* IPAMAddress(New): Remove tab (use 4 spaces)
* IPAMAddress(New): Remove not longer needed code about value validation
* IPAMAddress(New): Add Assigned Object Type and ID
Fix #17
* IPAMAddress(New): add Parameter example
* IPAMAddress(New): Add Validate for Assigned Object Type
Can be only dcim.interface or virtualization.vminterface
* IPAMAddress(New): Fix Example (it is New and not Create Verb !)
* IPAMAddress(New): Remove -Force parameter, use -Confirm if you want a confirmation
it is the standard with ShouldProcess
2021-07-23 16:03:07 -04:00