Currently, this code makes use of a method of ignoring unknown certificates which is global to all .NET and PowerShell code in the session.
Writing a replacement of Invoke-RESTMethod is a big task, but would be a good idea.
Note to self : Implement this on either Linux or Mac to make sure it's portable.
Currently, this code makes use of a method of ignoring unknown certificates which is global to all .NET and PowerShell code in the session.
Writing a replacement of Invoke-RESTMethod is a big task, but would be a good idea.
Note to self : Implement this on either Linux or Mac to make sure it's portable.