Skip to content

Write-Uppercase

Writes text in uppercase letters

param([string]$text = "")

if ($text -eq "" ) { $text = Read-Host "Enter the text to write" }

Write-Output $text.ToUpper()
exit 0 # success

Specifies the text to write (ask user by default)

An interactive directory of PowerShell scripts.