Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Display the Desktop

$
0
0

Summary: Use Windows PowerShell to change the display to the Desktop.

Hey, Scripting Guy! Question How can I use Windows PowerShell to switch to displaying the Desktop on my computer?

Hey, Scripting Guy! Answer Use the ToggleDesktop method from the Shell.Application COM object:

(New-Object -ComObject shell.application).toggleDesktop()


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>