PowerShell przekonwertuje tekst 20 MB na bajty

$str = '3GB'

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