Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell convert text 20MB to bytes

$str = '3GB'

$int64 = [int64]$str.Replace('GB','') * 1GB
Source by social.technet.microsoft.com #
 
PREVIOUS NEXT
Tagged: #powershell #convert #text #bytes
ADD COMMENT
Topic
Name
4+2 =