We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34ac1bb commit 6845e01Copy full SHA for 6845e01
Get-TeamsStatus.ps1
@@ -68,7 +68,7 @@ $TeamsActivity = $MSTeamsLog | Select-String -Pattern `
68
'NotifyCallEnded' | Select-Object -Last 1
69
70
# Get Teams application process
71
-$TeamsProcess = Get-Process -Name ms-teams -ErrorAction Break
+$TeamsProcess = Get-Process -Name ms-teams -ErrorAction SilentlyContinue
72
73
# Check if Teams is running and start monitoring the log if it is
74
If ($null -ne $TeamsProcess) {
0 commit comments