1
0
Files
Repository/Tools/PS2EXE-GUI/Examples/Parameter.ps1
2025-10-31 08:58:36 +01:00

7 lines
386 B
PowerShell
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Param([STRING]$Text = "defaultvalue", [INT]$NUMBER = -1, [SWITCH]$SELECT, [ARRAY] $STRARRAY)
Write-Host "Text: $Text`nNumber: $NUMBER`nSelect: $SELECT"
if ($STRARRAY)
{ "Array: $STRARRAY" }