Windows 7は、PowerShellのパスをアクティブにしません。
1)C:\ Windows \ System32 \ WindowsPowerShell\v1.0が私のパスに存在します
C:\GitRepository>path
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem; C:\Windows\System32\WindowsPowerShell\v1.0;
2)cmdからpowershellを暗黙的に実行することはできません
C:\GitRepository>powershell
'powershell' is not recognized as an internal or external command, operable program or batch file.
3)ただし、明示的に実行されます
C:\GitRepository>c:\Windows\System32\WindowsPowerShell\v1.0\powershell
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\user\Androidwork\WebDevelopment\GitRepository> exit
C:\Users\user\Androidwork\WebDevelopment\GitRepository>
何か案が?