我正在尝试在 PowerGui 3.0 中点源脚本文件,但我得到的只是;
术语“.\PowerShell.Common.ps1”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称。检查名称的拼写,或者如果包含路径,请验证路径是否正确并重试。在 D:\TFS\SharePoint\Dev\Deploy\AutoSPInstaller\SP2010\AutoSPInstaller\AutoSPInstallerFunctionsCustom.ps1:6 char:31 + .\PowerShell.Common.ps1 <<<< + CategoryInfo : ObjectNotFound: (.\PowerShell.Common. ps1:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
并且 powerGui 随后不在所述文件中提供我的脚本功能 - 在父脚本的上下文相关列表中。
文件“PowerShell.Common.ps1”与 AutoSPInstallerFunctionsCustom.ps1 位于同一目录中,谢谢您的帮助