baramundisoftware / PS-bConnect

Powershell module for baramundi Connect (bConnect), the REST-API of the baramundi Management Suite
https://www.baramundi.com/en/management-suite/interfaces/
MIT License
26 stars 14 forks source link

add NetworkEndpoint to New/Edit-bConnectEndpoint #74

Closed T0biii closed 1 year ago

T0biii commented 2 years ago

add NetworkEndpoint to New-bConnectEndpoint and Edit-bConnectEndpoint

scheppachbde commented 2 years ago

Hello,

I tried to add a new networkEndpoint with new-bconnectendpoint but I always receive "PrimaryIP must not be empty" my command was "New-bConnectEndpoint -Type NetworkEndpoint -DisplayName dr0000 -PrimaryIP 10.10.10.10", so I added a primaryIP.

should that feature already work and it is a bug on my side, or is that feature not ready yet?

T0biii commented 2 years ago

this issue is a feature request to add support for it. (There is also an Error in the bServer: https://forum.baramundi.com/index.php?threads/networkendpoints-21r2.13602/)

If you want to try it you need to add some lines to the new-bconnectEndpoint.ps1 See: https://gist.github.com/T0biii/c565069628c2e3a43973882207abf995#file-new-bconnectendpoint-ps1-L51-L58

scheppachbde commented 2 years ago

very cool, it works for me. thanks for your help