Hi,
Invoke-RestMethod or Invoke-WebRequest uses by default TLS 1.0. This protocal is outdated and would be not accepted by the most Webservers anymore.
Usually this results in the following error message:
The underlying connection was closed: An unexpected error occurred on a receive.
Continue reading Windows: Invoke-RestMethod =>The underlying connection was closed: An unexpected error occurred on a receive. →
Hi,
the most did not know that VMware Workstation has a API interface to dealing with it.
Continue reading VMware Workstation: Using the REST api with powershell →
My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…