我试图在Hyper-V环境中自动化带有DHCP服务器的域控制器的设置。当我试图安装DHCP服务器时,事情会出错。实际上,当我试图导入DhcpServer powershell模块时。然而,Import语句失败时出现了以下错误:
Cannot find the WindowsPowerShell data file 'DhcpServerMigration.psd1' in directory\en\DhcpSer
我在执行powershell脚本的msbuild配置中有一个构建后步骤。如果我直接从powershell调用Powershell脚本,那么它工作得很好,但是通过msbuild调用失败了。在尝试使用导入中的类后,似乎失败了:Import-Module WebAdministration
我收到错误消息"Error : Retrieving the COM Class factory for(REGDB_E_C