PowerShell mengonversi teks 20MB menjadi byte

$str = '3GB'

$int64 = [int64]$str.Replace('GB','') * 1GB
Muddy Manx