Automatically open folder in your desktop with powershell

#Name: Richa Sharma
#Automatically open  any folder in your desktop with PowerShell
#Action Required: Change "C:\Program Files (x86)" with your folder path.




$objshell= New-Object -ComObject "Shell.Application"
$objshell.Explore("C:\Program Files (x86)")
$objshell.ToggleDesktop()

Comments

Popular posts from this blog

Create a HTML file on Desktop with top 10 process running on your system, if that file already exists on Desktop it will give prompt to user to recreate that file.

Check test connectivity on remote servers with given IP range-Powershell Script