创建 PowerShell 4.0 的桌面快捷方式? (Windows 7)

Creating a desktop shortcut to PowerShell 4.0? (Windows 7)

当我使用向导创建 Powershell 的快捷方式时,它没有创建 Powershell 4 的快捷方式,而是指向 1.0。如果我转到可执行文件的文件位置,唯一的东西就是 1.0.0 的可执行文件。 Powershell 4.0 位于何处?

这是正确的路径。如果要启动特定版本,可以在启动时指定-version参数powershell.exe 如:

powershell.exe -version 2.0 

没有它,powershell 将启动最新安装的。