Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

New-VesterConfig: Add Parameters #199

Open
midacts opened this issue Dec 24, 2017 · 0 comments
Open

New-VesterConfig: Add Parameters #199

midacts opened this issue Dec 24, 2017 · 0 comments

Comments

@midacts
Copy link
Contributor

midacts commented Dec 24, 2017

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 midacts changed the title New-VesterConfig: Add Parameter New-VesterConfig: Add Parameters Dec 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant