File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ function Connect-HtExchangeOnline {
113113 return $true
114114 }
115115 catch {
116- Write-Error " Failed to connect to Exchange for tenant $TenantName : $_ "
116+ Write-Error " Failed to connect to Exchange for tenant $ ( $ TenantName) : $_ "
117117 return $false
118118 }
119119}
@@ -145,7 +145,7 @@ function Get-HtStorageTable {
145145 return $table
146146 }
147147 catch {
148- Write-Error " Failed to get/create storage table ' $ TableName' : $_ "
148+ Write-Error " Failed to get/create storage table $ ( $ TableName) : $_ "
149149 throw
150150 }
151151}
@@ -292,7 +292,7 @@ function Check-MailboxSizes {
292292 Write-Information " Retrieved archive stats for $UserPrincipalName "
293293 }
294294 catch {
295- Write-Warning " Could not retrieve archive stats for $UserPrincipalName ` : $_ "
295+ Write-Warning " Could not retrieve archive stats for $ ( $ UserPrincipalName) : $_ "
296296 }
297297 }
298298
@@ -324,7 +324,7 @@ Total Size: $([math]::Round(($totalSize + $archiveSize)/1GB, 2)) GB
324324 }
325325 }
326326 catch {
327- Write-Error " Error checking mailbox size for $UserPrincipalName ` : $_ "
327+ Write-Error " Error checking mailbox size for $ ( $ UserPrincipalName) : $_ "
328328 }
329329}
330330
You can’t perform that action at this time.
0 commit comments