File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Modules/CIPPCore/Public/Alerts Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,13 @@ function Get-CIPPAlertOneDriveQuota {
3333 if ($UsagePercent -gt $InputValue ) {
3434 $GBLeft = [math ]::Round(($_.storageAllocatedInBytes - $_.storageUsedInBytes ) / 1 GB )
3535 [PSCustomObject ]@ {
36- Details = @ {
37- Message = " $ ( $_.ownerPrincipalName ) : OneDrive is $UsagePercent % full. OneDrive has $ ( $GBLeft ) GB storage left"
38- Owner = $_.ownerPrincipalName
39- UsagePercent = $UsagePercent
40- GBLeft = $GBLeft
41- StorageUsedInBytes = $_.storageUsedInBytes
42- StorageAllocatedInBytes = $_.storageAllocatedInBytes
43- Tenant = $TenantFilter
44- }
36+ Message = " $ ( $_.ownerPrincipalName ) : OneDrive is $UsagePercent % full. OneDrive has $ ( $GBLeft ) GB storage left"
37+ Owner = $_.ownerPrincipalName
38+ UsagePercent = $UsagePercent
39+ GBLeft = $GBLeft
40+ StorageUsedInBytes = $_.storageUsedInBytes
41+ StorageAllocatedInBytes = $_.storageAllocatedInBytes
42+ Tenant = $TenantFilter
4543 }
4644 }
4745
You can’t perform that action at this time.
0 commit comments