mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-30 11:54:32 +01:00
14 lines
353 B
PowerShell
14 lines
353 B
PowerShell
|
#!/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
|