Pester 5 Configuration settings

Since Pester v5 was released this legacy warning appears every time a Pester test is performed with the -CodeCoverage flag being used. WARNING: You are using Legacy parameter set that adapts Pester 5 syntax to Pester 4 syntax. This parameter set is deprecated, and does not work 100%. The -Strict and -PesterOption parameters are ignored,…

Verify Invoke-WebRequest statuscode 404 with Pester

A 404 result coming from an Invoke-WebRequest is usually a bad thing. This time, however, the 404 is a result I actually hoped to see. I am creating a custom Azure Devops extension that talks with the API of VMWare VRealize 8. The extension allows users to create a new resources such as a VM…