Skip to content

write-hands-off

Writes 'Hands Off'

#Requires -Version 5.1

try {
	$randomNumberGenerator = New-Object System.Random
	while ($true) {
		Clear-Host
		Write-Host "`n`n"
		& "$PSScriptRoot/write-big.ps1" "     HANDS OFF"
		Write-Host "`n`n"
		& "$PSScriptRoot/write-big.ps1" "   DO NOT TOUCH"
		Write-Host "`n`n"
		& "$PSScriptRoot/write-big.ps1" "       MY PC"
		[int]$x = $randomNumberGenerator.next(1, 90)
		[int]$y = $randomNumberGenerator.next(1, 22)
		[System.Console]::SetCursorPosition($x, $y)
		Write-Host "🔥🔥🔥 LAST WARNING 🔥🔥🔥" -foregroundColor red
		Start-Sleep -milliseconds 900
	}
	exit 0
} catch {
throw
}

This script has no configurable parameters.

An interactive directory of PowerShell scripts.