Powershell refresh desktop screen

Filip 831 Reputation points
2021-04-15T14:01:04.17+00:00

Hello.
How can I refresh desktop screen with powerhsell?
Thanks for help.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,362 questions
{count} votes

1 additional answer

Sort by: Most helpful
  1. campbellkerr 106 Reputation points
    2021-04-15T23:49:18.71+00:00

    A simple way might be to use wscript/sendkeys (in powershell). You could send the F5 key which would also refresh the desktop.

    0 comments No comments