The error action was set incorrectly when the script is looking for the ms-teams process.
main v2.0.1
Danny de Vries 3 days ago committed by GitHub
parent 34ac1bbea7
commit 6845e01277
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -68,7 +68,7 @@ $TeamsActivity = $MSTeamsLog | Select-String -Pattern `
'NotifyCallEnded' | Select-Object -Last 1
# Get Teams application process
$TeamsProcess = Get-Process -Name ms-teams -ErrorAction Break
$TeamsProcess = Get-Process -Name ms-teams -ErrorAction SilentlyContinue
# Check if Teams is running and start monitoring the log if it is
If ($null -ne $TeamsProcess) {

Loading…
Cancel
Save