A simple PowerShell DSL for creating simple Wizards
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
de-De
en-US
LICENSE
Ookii.Dialogs.Wpf.dll
Poshwizard.psd1
Poshwizard.psm1
PoshwizardLogo.png
README.md

README.md

PoshWizard

A simple PowerShell DSL for creating simple Wizards

You can use this module as a simple DSL for creating typical Wizards that contains several pages with input elements like so

Import-Module -Name PoshWizard

Assistant –Title "Create Directory" { Window –Title "Step 1 – Provide path" { Label -Text "The path please:" TextBox –Name Path OKButton { if (Test-Path –Path $Path –IsValid) { Md $Path } } } -CloseWindow }

In the current (initial) version there are only two input elements: TextBox and Choice. The action is determined with the OKButton and its ScriptBlock-Parameter.