Update the comment-based help

This commit is contained in:
Markus Fleschutz
2021-08-29 17:50:03 +02:00
parent 11ca126b33
commit e10261351c
249 changed files with 780 additions and 1021 deletions

View File

@ -2,19 +2,18 @@
.SYNOPSIS
write-red.ps1 [<text>]
.DESCRIPTION
Writes the given text in a red foreground color
Writes the given text in a red foreground color.
.EXAMPLE
PS> .\write-red.ps1 "Hello World"
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$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"
exit 0