Notices: This section not yet converted to new layout. Download stats are rolling back out.

PowerShell Here

0.0.3

Package test results are passing.

This package was approved by moderator ferventcoder on 3/19/2015.

Adds an 'Open PowerShell Here' option to the right click menu of Windows Explorer when right clicking folders, drives or the background of an explorer window.

To install PowerShell Here, run the following command from the command line or from PowerShell:

C:\> choco install powershellhere

To upgrade PowerShell Here, run the following command from the command line or from PowerShell:

C:\> choco upgrade powershellhere

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    # OpenHere.ps1
    # Write registry keys to add a 'PowerShell Here' option to the Windows Explorer right click menu.
       
    # Create (or overwrite) the key and populate the value to appear in the menu.
       
    $pspath = "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -NoExit"
    
    # for right clicking on folders
    New-Item HKLM:\SOFTWARE\Classes\Directory\shell\PSOpenHere -force 
    Set-Item HKLM:\SOFTWARE\Classes\Directory\shell\PSOpenHere "Open PowerShell Here"
    New-item HKLM:\SOFTWARE\Classes\Directory\shell\PSOpenHere\command -force
    Set-item HKLM:\SOFTWARE\Classes\Directory\shell\PSOpenHere\command "$pspath Set-Location '%L'"
    
    # for right clicking on drives
    New-Item HKLM:\SOFTWARE\Classes\Drive\shell\PSOpenHere -force 
    Set-Item HKLM:\SOFTWARE\Classes\Drive\shell\PSOpenHere "Open PowerShell Here"
    New-item HKLM:\SOFTWARE\Classes\Drive\shell\PSOpenHere\command -force
    Set-item HKLM:\SOFTWARE\Classes\Drive\shell\PSOpenHere\command "$pspath Set-Location '%L'"
    
    # for right clicking on the background of folders
    New-Item HKLM:\SOFTWARE\Classes\Directory\Background\shell\PSOpenHere -force 
    Set-Item HKLM:\SOFTWARE\Classes\Directory\Background\shell\PSOpenHere "Open PowerShell Here"
    New-item HKLM:\SOFTWARE\Classes\Directory\Background\shell\PSOpenHere\command -force
    Set-item HKLM:\SOFTWARE\Classes\Directory\Background\shell\PSOpenHere\command "$pspath"
  • tools\chocolateyUninstall.ps1 Show
    # OpenHere.ps1
    # Write registry keys to add a 'PowerShell Here' option to the Windows Explorer right click menu.
       
    # Create (or overwrite) the key and populate the value to appear in the menu.
       
    # for right clicking on folders
    Remove-Item -Recurse HKLM:\SOFTWARE\Classes\Directory\shell\PSOpenHere -force 
    #Remove-Item HKLM:\SOFTWARE\Classes\Directory\shell\PSOpenHere\command -force
    
    # for right clicking on drives
    Remove-Item -Recurse HKLM:\SOFTWARE\Classes\Drive\shell\PSOpenHere -force 
    #Remove-Item HKLM:\SOFTWARE\Classes\Drive\shell\PSOpenHere\command -force
    
    # for right clicking on the background of folders
    Remove-Item -Recurse HKLM:\SOFTWARE\Classes\Directory\Background\shell\PSOpenHere -force 
    #Remove-Item HKLM:\SOFTWARE\Classes\Directory\Background\shell\PSOpenHere\command -force

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Duane Edwards

Tags

Version History

Version Downloads Last updated Status
PowerShell Here 0.0.2 263 Saturday, February 21, 2015 approved
PowerShell Here 0.0.1 250 Saturday, February 21, 2015 approved

Discussion for the PowerShell Here Package

Ground rules:

  • This discussion is only about PowerShell Here and the PowerShell Here package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or PowerShell Here, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok