Add-Type -AssemblyName PresentationFramework
$icons = @(
'[ERROR] ',
'[WARNING] ',
'[INFO] ',
'[QUESTION] '
)
while ($true) {
$icon = Get-Random -InputObject $icons
Write-Host "$icon This is a prank message!" -ForegroundColor Yellow
Start-Sleep -Milliseconds 300
}
Add-Type -AssemblyName PresentationFramework
$icons = @(
'[ERROR] ',
'[WARNING] ',
'[INFO] ',
'[QUESTION] '
)
while ($true) {
$icon = Get-Random -InputObject $icons
Write-Host "$icon This is a prank message!" -ForegroundColor Yellow
Start-Sleep -Milliseconds 300
}