Skip to content

Instantly share code, notes, and snippets.

@dannyrb
Last active June 2, 2018 16:19
Show Gist options
  • Save dannyrb/4df180b3baa1b2113a97e18c0bd7e345 to your computer and use it in GitHub Desktop.
Save dannyrb/4df180b3baa1b2113a97e18c0bd7e345 to your computer and use it in GitHub Desktop.
👋 Hi Matt! Hi Pat!
Add-Type -AssemblyName System.speech
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer
$speak.Speak('Come see the violence inherent in the system. Help! Help! I''m being repressed!')
# Nabbed from this reddit thread:
# https://www.reddit.com/r/PowerShell/comments/5z55g4/need_a_fun_prank_script/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment