打开 Windows Powershell Modules 报错

网友投稿 684 2022-09-20

打开 Windows Powershell Modules 报错

打开 Windows Powershell Modules 报错

开始在 PowerShell 打入: cd iis: 一直报错, 后来放狗搜了半天,也没结果,偶然发现还有一个:  Windows Powershell Modules ,打开报一个错: 警告: 无法加载文件C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDiagnostics\PSDiagnostics.psm1,因为在此系统中禁止执行脚本。有关详细信息,请参阅 "get-help about_signing"。警告: 无法加载文件C:\Windows\system32\WindowsPowerShell\v1.0\Modules\WebAdministration\WebAdministrationAliases.ps1,因为在此系统中禁止执行脚本。有关详细信息,请参阅 "get-help about_signing"。   才搜到上面的链接。 执行: set-executionpolicy remotesigned   就可以了。 1. PowerShell 的资料太少了。 多读系统的帮助,任务栏的windowspowershell 点右键,才能打开帮助。 具体文件在:   C:\Windows\winsxs\amd64_microsoft-windows-p..l-helpchm.resources_31bf3856ad364e35_6.1.7600.16385_zh-cn_66a32fb57e79c943 2. windows powershell modules  是在  windows powershell 后面添加了两个参数: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -NoExit -ImportSystemModules      ImportSystemModules这个功能还可以在 taskBar 的 PowerShell 上点右键,选择导入系统模块。  http://technet.microsoft.com/zh-cn/library/hh847866.aspx

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:RabbitMQ 总结及 window环境安装使用RabbitMQ
下一篇:2020最新Python学习常见十大问题总结(2020年python考试)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~