Content
I push a Powershell script to one particular user that fetches a random cat fact from a website then reads it through their computer speakers out loud. They’re thoroughly convinced that their boss, a non-IT person, is doing it to them. EDIT: For everyone asking for the script. Add-Type -AssemblyName System. Speech SpeechSynth New-Object System. Speec h. Synthesis.SpeechSynthesizer SpeechSynth.SelectVoice("Microsoft Zira Desktop") Browser New-Object System.Net.WebClient Browser.Proxy.Credentials System. Net.CredentialCache: :DefaultN etworkCredentials Net.ServicePointManage r:: SecurityProtocol Net.SecurityProtocolType::Tls12 CatFact (ConvertFrom-Json (Invoke-WebRequest -Verbose -Uri https:catfact.ninjafact -UseBasicParsing)) CatFact.fact SpeechSynth.Speak("Did you know ?") SpeechSynth.Speak(CatFact.fact)