WahlNetwork / vester

Easily validate and remediate your vSphere configuration
https://wahlnetwork.com
Apache License 2.0
146 stars 45 forks source link

Add Ability to have $Desired be defined as a ScriptBlock for more interesting/complex tests #198

Closed cars closed 6 years ago

cars commented 6 years ago

This change allows for defining $Desired in a test as a ScriptBlock.

I'm working on trying to write some tests around DRS Rules and needed a way to build an array of strings since I can't just get it from a single value.

Signed-off-by: Carlos Tronco cars@lostroncos.org

brianbunke commented 6 years ago

Thanks for submitting, @cars! Really sorry this has been sitting around...I've been stuck in new baby mode. 😫

:shipit: