Jam*_*mes 2 sql-server powershell dbatools
我按照https://dbatools.io/offline/ 上的说明进行操作:
下载压缩包并解压
运行$env:PSModulePath以查找所有路径。
复制到C:\Program Files\WindowsPowerShell\Modules.
跑 Get-ChildItem -Recurse "C:\Program Files\WindowsPowerShell\Modules" | Unblock-File
当我尝试运行时Export-DbaInstance -SqlInstance,出现以下错误:
术语 Export-DBAInstance 无法识别”。
任何帮助将不胜感激。