lordmilko / PrtgAPI

C#/PowerShell interface for PRTG Network Monitor
MIT License
301 stars 37 forks source link

Modul Signing #379

Closed JonasHagendorfKZVKDO closed 9 months ago

JonasHagendorfKZVKDO commented 9 months ago

What are you trying to do, and to what extent does PrtgAPI provide existing functionality around this?

Due to Company Restrictions we can not import Modules to Powershell that are not signed (I'm sure, we are not the only one). I triedto sign it by myself but none of the used methods worked (that normaly worked on other Modules).

Can you sign the Module and share the certficate to import it as trusted sources?

Is this something that has some sort of parallel in the PRTG UI? If so where do you go/how do you normally do it?

no

Due Dilligance

lordmilko commented 9 months ago

This is not something I am interested in exploring.

You may be able to bypass any signing policies by running PowerShell as follows

powershell -executionpolicy bypass

Other potential workarounds may include using PowerShell Core instead of the built-in Windows PowerShell, or using PowerShell inside of WSL