Thursday, December 23, 2021

PowerShell Refresh script

 For all of you out there who need to look like you're working...

$wsh = New-Object -ComObject WScript.Shell
while (1) {
  $wsh.SendKeys('+{F15}')
  Start-Sleep -seconds 59
}

No comments:

Post a Comment