Add datatype string

This commit is contained in:
Markus Fleschutz 2021-07-14 07:56:45 +02:00
parent d37e3ba990
commit 6f51636211

View File

@ -11,7 +11,7 @@
Author: Markus Fleschutz / License: CC0
#>
param($Text = "")
param([string]$Text = "")
if ($Text -eq "" ) { $Text = read-host "Enter the text to write" }
write-host -foregroundcolor red "$Text"