Functions/New-UIAutomationCodeGenerator.ps1
<#
.SYNOPSIS This function returns the requested UI automation code generator object. #> function New-UIAutomationCodeGenerator { [CmdletBinding(PositionalBinding=$true)] param ( # Select the Puppeteer code generator [Parameter(Mandatory=$true, ParameterSetName="Puppeteer")] [Switch]$Puppeteer ) if ($PSCmdlet.ParameterSetName -eq "Puppeteer") { return New-PuppeteerCodeGenerator } } |