PowerShell 6.1.0 (preview) messes verbs of directories, causing Previous Versions to open previous v

Issue #6799 in PowerShell repository on GitHub raises the question why Previous Versions is opening previous versions of a directory in PowerShell, instead of File Explorer as expected. The reason is that PowerShell 6.1.0 (preview) installer creates a context menu to open the shell on any folder. However, it unfortunately names the verbs as open/runas, which is very dangerous since they are canonical and do not make much sense for a folder. Related is issue #7815, where shortcuts to a folder are opened in PowerShell.

文章来源:

Author:Gee Law’s Blog
link:https://geelaw.blog/entries/pwsh-6-preview-messing-verbs/?utm_source=feed&utm_medium=rss