Skip to content

Instantly share code, notes, and snippets.

@geoffreysmith
Created August 25, 2021 04:21
Show Gist options
  • Save geoffreysmith/2e2c68c150f989959a48f7f874fa947c to your computer and use it in GitHub Desktop.
Save geoffreysmith/2e2c68c150f989959a48f7f874fa947c to your computer and use it in GitHub Desktop.

Revisions

  1. geoffreysmith created this gist Aug 25, 2021.
    7 changes: 7 additions & 0 deletions teams.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Function Keyboard-Saver {
    $wshell = New-Object -ComObject wscript.shell;
    While ($True) {
    $wshell.SendKeys("{F15}")
    Start-Sleep 240
    }
    }