Cambiar el tipo de datos PowerShell
[int]$var = (Get-DefaultAudioDeviceVolume).Replace("%","")
Perfect Peacock
[int]$var = (Get-DefaultAudioDeviceVolume).Replace("%","")