My script already disables cert check at the beginning in the same way.
Later, in the middle of the script, I try to import the PSPHPIPAM module and receive the error below:
add-type : Cannot add type. The type name 'TrustAllCertsPolicy' already exists.
At C:\Program
Files\WindowsPowerShell\Modules\PSPHPIPAM\1.3.2\Functions\Private\Disable-CertsCheck.ps1:14 char:9
Is it possible to add one additional check for this type? Something like this:
Hello,
My script already disables cert check at the beginning in the same way. Later, in the middle of the script, I try to import the PSPHPIPAM module and receive the error below:
Is it possible to add one additional check for this type? Something like this: