Cambiar el tipo de datos PowerShell

[int]$var = (Get-DefaultAudioDeviceVolume).Replace("%","")
Perfect Peacock