Pester support : add an option to create a "mock" PowerCLI .Net object with values assigned to properties
In Pester one can mock an object, and that also works for the PowerCLI .Net objects.But the New-MockObject cmdlet creates an empty object, and since most properties in PowerCLI .Net objects are read-only, that doesn't offer the possibility to mock...