|
|
@ -135,13 +135,16 @@ If ($null -ne $TeamsProcess) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
If ($TeamsActivity -like "*Resuming daemon App updates*" -or `
|
|
|
|
If ($TeamsActivity -like "*Resuming daemon App updates*" -or `
|
|
|
|
$TeamsActivity -like "*SfB:TeamsNoCall*") {
|
|
|
|
$TeamsActivity -like "*SfB:TeamsNoCall*" -or `
|
|
|
|
|
|
|
|
$TeamsStatus -like "*current state: OnThePhone -> *") {
|
|
|
|
$Activity = $lgNotInACall
|
|
|
|
$Activity = $lgNotInACall
|
|
|
|
$ActivityIcon = $iconNotInACall
|
|
|
|
$ActivityIcon = $iconNotInACall
|
|
|
|
Write-Host $Activity
|
|
|
|
Write-Host $Activity
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ElseIf ($TeamsActivity -like "*Pausing daemon App updates*" -or `
|
|
|
|
ElseIf ($TeamsActivity -like "*Pausing daemon App updates*" -or `
|
|
|
|
$TeamsActivity -like "*SfB:TeamsActiveCall*") {
|
|
|
|
$TeamsActivity -like "*SfB:TeamsActiveCall*" -or `
|
|
|
|
|
|
|
|
$TeamsStatus -like "*Setting the taskbar overlay icon - $lgOnThePhone*" -or `
|
|
|
|
|
|
|
|
$TeamsStatus -like "*StatusIndicatorStateService: Added OnThePhone*") {
|
|
|
|
$Activity = $lgInACall
|
|
|
|
$Activity = $lgInACall
|
|
|
|
$ActivityIcon = $iconInACall
|
|
|
|
$ActivityIcon = $iconInACall
|
|
|
|
Write-Host $Activity
|
|
|
|
Write-Host $Activity
|
|
|
|