WahlNetwork / vester

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

New-VesterConfig: Add Parameters #199

Open midacts opened 6 years ago

midacts commented 6 years ago

To use parameters and get rid of all the Read-Host/interactively filling out the form

Expected Behavior

$Params = @{ 'Datacenter' = 'DC1' 'Cluster' = 'C1' 'DatastoreCluster' = 'DSC1' 'VMHost' = 'VMH1' 'VM' = 'VM1' 'VDS' = 'VDS1' 'Verbose' = $True } New-VesterConfig @Params

This instead of having to interactively fill it out. This is just a rough draft. Future state: We can have it so it dynamically pulls in the tests (with Get-VesterTest) based on the parameters sent We should update some of the scope (i.e.: Network to VDS)

Here is a rough draft.

Current Behavior

You must interactively fill out the form

Possible Solution

rough draft

Context

When running New-VesterConfig

Your Environment