PowerShell/Scripts/write-lowercase.ps1
2021-04-14 14:10:43 +02:00

14 lines
353 B
PowerShell
Executable File

#!/usr/bin/pwsh
<#
.SYNTAX write-lowercase.ps1 [<text>]
.DESCRIPTION writes the given text in lowercase letters
.LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0
#>
param($Text = "")
if ($Text -eq "" ) { $Text = read-host "Enter the text to write" }
write-output $Text.ToLower()
exit 0