powershell bytes to mb code example
Example: powershell bytes to mb
$window.FindName("TargetSizeKB").Text = "500"
$sizeKB = $window.FindName("TargetSizeKB").Text -as [int]
# Umrechnung in MB
$sizeBytes = $sizeKB * 1000
$window.FindName("TargetSizeKB").Text = "500"
$sizeKB = $window.FindName("TargetSizeKB").Text -as [int]
# Umrechnung in MB
$sizeBytes = $sizeKB * 1000