How to keep MS teams always active, available, green status
Submitted by uday on May 19, 2023 - 8:33am1. Create a file called scroll.ps1 in a directory of your choice. The file can be named anything, but file extension needs to be .ps1
2. Copy following code to it.
Clear-host
Echo "Toggling Scrolllock..."
$WShell = New-Object -com "Wscript.Shell"
while ($true) {
$WShell.sendkeys("{SCROLLLOCK}")
Echo "1.."
Start-Sleep -Milliseconds 200
$WShell.sendkeys("{SCROLLLOCK}")
Start-Sleep -Seconds 250
Echo "2.."
}
3. Right click the file and select "Run with Powershell"