Fun stuff with Powershell scripting :)
What happen when your computer start motiviating you to do better job ?
:) i am not gone crazy. You just need one command to put your powershell script in startup which talks .
Powershell -noninteractive -nologo "script path"
You can certainly download my script and change to whatever you like to hear from computer. Please find attached powershell script.
Note :- If you want to hear content in male voice just change line 5 to
"$PowerShellSpeak.SelectVoice('Microsoft David Desktop') but if you want hear your computer in female voice use "$PowerShellSpeak.SelectVoice('Microsoft Zira Desktop')"
Script:
add-type -assemblyname system.speech
$PowerShellSpeak = New-Object System.Speech.Synthesis.SpeechSynthesizer
#Intro-Chrous
$PowerShellSpeak.SelectVoice('Microsoft Zira Desktop')
$PowerShellSpeak.speak("Good Morning")
$PowerShellSpeak.speak(" The key to successful leadership today is influence. ")
$PowerShellSpeak.speak(".")
$PowerShellSpeak.speak("Your talent is God's gift to you. What you do with it is your gift back to God so ........... do something today which motivates you. ")
$PowerShellSpeak.speak("Remeber .....")
$PowerShellSpeak.speak("The secret of getting ahead is getting started ")
$PowerShellSpeak.speak(" So .......... , , lets get started ............. have a great day, Enjoy your day")
What happen when your computer start motiviating you to do better job ?
:) i am not gone crazy. You just need one command to put your powershell script in startup which talks .
Powershell -noninteractive -nologo "script path"
You can certainly download my script and change to whatever you like to hear from computer. Please find attached powershell script.
Note :- If you want to hear content in male voice just change line 5 to
"$PowerShellSpeak.SelectVoice('Microsoft David Desktop') but if you want hear your computer in female voice use "$PowerShellSpeak.SelectVoice('Microsoft Zira Desktop')"
Script:
add-type -assemblyname system.speech
$PowerShellSpeak = New-Object System.Speech.Synthesis.SpeechSynthesizer
#Intro-Chrous
$PowerShellSpeak.SelectVoice('Microsoft Zira Desktop')
$PowerShellSpeak.speak("Good Morning")
$PowerShellSpeak.speak(" The key to successful leadership today is influence. ")
$PowerShellSpeak.speak(".")
$PowerShellSpeak.speak("Your talent is God's gift to you. What you do with it is your gift back to God so ........... do something today which motivates you. ")
$PowerShellSpeak.speak("Remeber .....")
$PowerShellSpeak.speak("The secret of getting ahead is getting started ")
$PowerShellSpeak.speak(" So .......... , , lets get started ............. have a great day, Enjoy your day")
Comments
Post a Comment