|
|
@ -29,8 +29,7 @@ $TeamsStatus = Get-Content -Path "C:\Users\$UserName\AppData\Roaming\Microsoft\T
|
|
|
|
'Setting the taskbar overlay icon -',`
|
|
|
|
'Setting the taskbar overlay icon -',`
|
|
|
|
'StatusIndicatorStateService: Added',`
|
|
|
|
'StatusIndicatorStateService: Added',`
|
|
|
|
'Main window is closing',`
|
|
|
|
'Main window is closing',`
|
|
|
|
'main window closed',`
|
|
|
|
'main window closed' | Select-Object -Last 1
|
|
|
|
| Select-Object -Last 1
|
|
|
|
|
|
|
|
# Get Teams Logfile and last app update deamon status
|
|
|
|
# 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 `
|
|
|
|
$TeamsActivity = Get-Content -Path "C:\Users\$UserName\AppData\Roaming\Microsoft\Teams\logs.txt" -Tail 100 | Select-String -Pattern `
|
|
|
|
'Resuming daemon App updates',`
|
|
|
|
'Resuming daemon App updates',`
|
|
|
|