mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-16 18:06:45 +02:00
Update list-voices.ps1
This commit is contained in:
parent
f49e240e88
commit
a5ee42192a
@ -13,9 +13,9 @@
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
add-type -AssemblyName System.Speech
|
Add-Type -AssemblyName System.Speech
|
||||||
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer
|
$Synth = New-Object System.Speech.Synthesis.SpeechSynthesizer
|
||||||
$speak.GetInstalledVoices() |
|
$Synth.GetInstalledVoices() |
|
||||||
Select-Object -ExpandProperty VoiceInfo |
|
Select-Object -ExpandProperty VoiceInfo |
|
||||||
Select-Object -Property Name, Culture, Gender, Age
|
Select-Object -Property Name, Culture, Gender, Age
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user