PowerShell Module
The PowerShell Pro Tools PowerShell module provides command-line access to packaging and Windows Forms design tooling. It is useful for local scripts, repeatable build steps, and CI systems where you do not want to drive an editor.
Features
Bundle dot-sourced scripts into a single script with
Merge-Script.Package scripts as executables with a
package.psd1configuration.Generate Windows Forms code from PowerShell functions with
ConvertTo-WinForm.Launch the Windows Forms designer with
Show-WinFormDesigner.Open PSScriptPad with
Show-PSScriptPad.
Quick Examples
Install the module from the PowerShell Gallery.
Install-Module PowerShellProToolsBundle a script and its dot-sourced dependencies.
Merge-Script -Config @{
Root = ".\Start-Tool.ps1"
OutputPath = ".\out"
Bundle = @{
Enabled = $true
Modules = $true
}
}Open a script in the Windows Forms designer.
More Information
Last updated