powershell -noexit c:\scripts\ApplyClusterConfig.ps1
하고 스크립트가 단지 포함을 :
Get-CacheStatistics
나는 다음과 같은 오류 받고 있어요 : 나는 everyting을했습니다
The term 'Get-CacheStatistics' is not recognized as the name of a cmdlet, funct
ion, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At C:\scripts\ApplyClusterConfig.ps1:1 char:20
+ Get-CacheStatistics <<<<
+ CategoryInfo : ObjectNotFound: (Get-CacheStatistics:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
내가 Fi를 수 . 차
Set-ExecutionPolicy Unrestricted
포함하고를 사용하여 웹에는 \ 파일을 참조하십시오 :
powershell -noexit .\ApplyClusterConfig.ps1
과 환경 경로를 설정하면 C 포함 : \ 스크립트
을하지만 오류가 지속 유지 . 내가 모든 Google 옵션을 다 사용했기 때문에 아무도 도와 줄 수 없습니까? 감사.
그 일을 네, 명령을 실행 – Asterix