Files
PowerShellBlazor/PowerShellBlazor/Scripts/test.ps1
2022-08-23 18:19:08 +10:00

8 lines
350 B
PowerShell

for ($i=1; $i -le 5; $i++) {
Write-Progress "Loop $i - progress output (Write-Progress)"
Write-Information "Here's some information (Write-Information)"
Write-Output "Normal output text (Write-Output)"
Write-Warning "Here's some warning text (Write-Warning)"
Write-Error "Oh no, here's some error text (Write-Error)"
Start-Sleep -s 1
}