vester icon indicating copy to clipboard operation
vester copied to clipboard

New-VesterConfig: Add Parameters

Open midacts opened this issue 8 years ago • 0 comments

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

  • Vester module version used: Current
  • PowerCLI version: 6.5.4
  • Pester version: 4.0.2
  • Operating System and PowerShell version: Windows 2012 R2 with PS 5.1.14409.1012

midacts avatar Dec 24 '17 04:12 midacts