mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-24 17:31:05 +02:00
Add datatype string
This commit is contained in:
parent
d37e3ba990
commit
6f51636211
@ -11,7 +11,7 @@
|
|||||||
Author: Markus Fleschutz / License: CC0
|
Author: Markus Fleschutz / License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
param($Text = "")
|
param([string]$Text = "")
|
||||||
if ($Text -eq "" ) { $Text = read-host "Enter the text to write" }
|
if ($Text -eq "" ) { $Text = read-host "Enter the text to write" }
|
||||||
|
|
||||||
write-host -foregroundcolor red "$Text"
|
write-host -foregroundcolor red "$Text"
|
||||||
|
Loading…
Reference in New Issue
Block a user