--- external help file: PSScriptTools-help.xml Module Name: PSScriptTools online version: http://bit.ly/31TAilb schema: 2.0.0 --- # Test-ExpressionForm ## SYNOPSIS Display a graphical test form for Test-Expression. ## SYNTAX ```yaml Test-ExpressionForm [] ``` ## DESCRIPTION This command will display a WPF-based form that you can use to enter in testing information. Testing intervals are in seconds. All of the values are then passed to the Test-Expression command. Results will be displayed in the form. The results only show you how long the tests took, regardless of whether or not there were errors. When you close the form, the last result object will be passed to the pipeline, including all metadata, the scriptblock, and arguments. This command requires a Windows platform that supports WPF. ## EXAMPLES ### Example 1 ```powershell PS C:\> test-expressionform ``` Launch the form. ## PARAMETERS ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS ### None ## OUTPUTS ### System.Object ## NOTES Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/ This command was first explained at https://github.com/jdhitsolutions/Test-Expression/blob/master/docs/Test-ExpressionForm.md ## RELATED LINKS [Test-Expression](Test-Expression.md) [Measure-Command]()