mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 05:17:44 +02:00
Improved the scripts
This commit is contained in:
@ -8,10 +8,11 @@
|
||||
|
||||
param($Text = "")
|
||||
|
||||
if ($Text -eq "" ) {
|
||||
$Text = read-host "Enter the text to write"
|
||||
}
|
||||
|
||||
try {
|
||||
if ($Text -eq "" ) {
|
||||
[String]$Text = read-host "Enter text to write"
|
||||
}
|
||||
write-host -foregroundColor blue $Text
|
||||
exit 0
|
||||
} catch {
|
||||
|
Reference in New Issue
Block a user