I added a little gimmick to my Resource Pool script. It actually talks to you, and tell you what’s selected, after hitting the exit button you’ll receive greetings from Eric Sloof. :-) SAPI is short for Speech Application Programming Interface (Speech API). SAPI is built into Windows XP, Windows Server 2003 and Vista; if you’re running either of those operating systems then you already have everything you need to add voice and sound effects to your PowerShell scripts. Just paste the following code at your PowerShell prompt.
$Voice = New-Object -com SAPI.SpVoice
$Voice.Speak( "The resource pool is adjusted", 1 )