Last active
February 17, 2021 09:01
-
-
Save JamesDBartlett3/e5dd308ee9a60f3d2f53112cbdace679 to your computer and use it in GitHub Desktop.
A clever little PowerShell & WScript hack that brings the application named in single quotes to the front, or "focuses" it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PowerShell -Command "$($wshell = New-Object -ComObject wscript.shell; $wshell.AppActivate('Power BI Desktop') | Out-Null);" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment