PowerShell/Scripts/write-lowercase.ps1
Markus Fleschutz b653133853 Add UTF-8 BOM
2021-09-27 10:38:12 +02:00

20 lines
390 B
PowerShell
Executable File

<#
.SYNOPSIS
write-lowercase.ps1 [<text>]
.DESCRIPTION
Writes the given text in lowercase letters
.EXAMPLE
PS> ./write-lowercase "Hello World"
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
param([string]$text = "")
if ($text -eq "" ) { $text = read-host "Enter the text to write" }
write-output $text.ToLower()
exit 0 # success