From 61451748e4d91cef6272416d928c01783b90e0cc Mon Sep 17 00:00:00 2001 From: Danny de Vries Date: Sun, 6 Dec 2020 12:05:48 +0100 Subject: [PATCH] Fixed missing expression on line 32 --- Get-TeamsStatus.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Get-TeamsStatus.ps1 b/Get-TeamsStatus.ps1 index a086788..11791d6 100644 --- a/Get-TeamsStatus.ps1 +++ b/Get-TeamsStatus.ps1 @@ -29,8 +29,7 @@ $TeamsStatus = Get-Content -Path "C:\Users\$UserName\AppData\Roaming\Microsoft\T 'Setting the taskbar overlay icon -',` 'StatusIndicatorStateService: Added',` 'Main window is closing',` - 'main window closed',` - | Select-Object -Last 1 + 'main window closed' | Select-Object -Last 1 # Get Teams Logfile and last app update deamon status $TeamsActivity = Get-Content -Path "C:\Users\$UserName\AppData\Roaming\Microsoft\Teams\logs.txt" -Tail 100 | Select-String -Pattern ` 'Resuming daemon App updates',`