相关疑难解决方法(0)

如何更改我的默认 PowerShell 配置文件/对我的 $profile 文件进行数字签名?

我尝试为我的 powershell 环境创建一个终极设置。

我用一堆语句创建了“Microsoft.PowerShell_profiles.ps1”来设置我的默认配置文件。

但是,当我开始 PowerShell 会话时,我得到:

File C:\Documents and Settings\xxx\My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 cannot be loaded. The file C:\Documents and Settings\xxx\My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 is not digitally signed. The script will not execute on the system.

windows powershell

14
推荐指数
2
解决办法
2万
查看次数

标签 统计

powershell ×1

windows ×1