Skip to content

Commit c725f60

Browse files
authored
Update Get-ExoOnlineStringBytes.ps1
1 parent 82b6dd2 commit c725f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Private/Get-ExoOnlineStringBytes.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function Get-ExoOnlineStringBytes {
44
# This exists because various exo cmdlets like to return a human readable string like "3.322 KB (3,402 bytes)" but not the raw bytes value
55

66
if ($SizeString -match '\(([0-9,]+) bytes\)') {
7-
return [int]($Matches[1] -replace ',','')
7+
return [int64]($Matches[1] -replace ',','')
88
}
99

1010
return 0

0 commit comments

Comments
 (0)