不能點源從目錄 所有PowerShell腳本試圖源的所有PowerShell腳本:如何從目錄
. .\*.ps1
返回此:
> : The term '.\*.ps1' is not recognized as the name of a cmdlet,
> function, 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 line:1 char:3
> + . .\*.ps1
> + ~~~~~~~
> + CategoryInfo : ObjectNotFound: (.\*.ps1:String) [], CommandNotFoundException
> + FullyQualifiedErrorId : CommandNotFoundException
我希望'。 。\ *。ps1'工作 –