You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ListMailboxRules.ps1
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
usingnamespaceSystem.Net
2
2
3
-
FunctionInvoke-ListMailboxRules {
3
+
functionInvoke-ListMailboxRules {
4
4
<#
5
5
.FUNCTIONALITY
6
6
Entrypoint
@@ -28,18 +28,15 @@ Function Invoke-ListMailboxRules {
28
28
29
29
$Metadata=@{}
30
30
# If a queue is running, we will not start a new one
31
-
if ($RunningQueue) {
31
+
if ($RunningQueue-and!$Rows) {
32
32
$Metadata= [PSCustomObject]@{
33
33
QueueMessage="Still loading data for $TenantFilter. Please check back in a few more minutes"
0 commit comments