Guest User

Untitled

a guest
Nov 19th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. $ExecutionContext.InvokeCommand.CommandNotFoundAction = {
  2. param ($name, $eventArgs)
  3. @(
  4. "Boooo!"
  5. "Don't you know anything?"
  6. "RTFM!"
  7. "Hahaha, n00b!"
  8. "Wow! That was impressively wrong!"
  9. "He said: $name :D"
  10. "What are you doing??"
  11. "Pathetic"
  12. "...and this is the best you can do??"
  13. "The worst one today!"
  14. "n00b alert!"
  15. "Your application for reduced salary has been sent!"
  16. "lol"
  17. "u suk"
  18. "lol... plz"
  19. "plz uninstall"
  20. "And the Darwin Award goes to.... $env:USERNAME!"
  21. "ERROR_INCOMPETENT_USER"
  22. "Incompetence is also competence"
  23. "Bad."
  24. "Fake it till you make it!"
  25. "What is this...? ${name}? Amateur hour!?"
  26. "Come on! You can do it!"
  27. "Nice try."
  28. "What if... you type an actual command the next time!"
  29. "What if I told you... it is possible to type valid commands."
  30. "Y u no speak computer???"
  31. "This is not Mac"
  32. "Perhaps you should leave the command line alone..."
  33. "Please step away from the keyboard!"
  34. "error code: 1D10T"
  35. "ACHTUNG! ALLES TURISTEN UND NONTEKNISCHEN LOOKENPEEPERS! DAS KOMPUTERMASCHINE IST NICHT FÜR DER GEFINGERPOKEN UND MITTENGRABEN! ODERWISE IST EASY TO SCHNAPPEN DER SPRINGENWERK, BLOWENFUSEN UND POPPENCORKEN MIT SPITZENSPARKEN. IST NICHT FÜR GEWERKEN BEI DUMMKOPFEN. DER RUBBERNECKEN SIGHTSEEREN KEEPEN DAS COTTONPICKEN HÄNDER IN DAS POCKETS MUSS. ZO RELAXEN UND WATSCHEN DER BLINKENLICHTEN."
  36. "Pro tip: type a valid command!"
  37. ) | Get-Random | Write-Host -ForegroundColor Red
  38. $eventArgs.CommandScriptBlock = {}
  39. }
Add Comment
Please, Sign In to add comment