menu E4b9a6's blog
rss_feed
E4b9a6's blog
有善始者实繁,能克终者盖寡。

PS被禁止运行脚本

作者:E4b9a6, 创建:2021-06-16, 字数:180, 已阅:88, 最后更新:2024-03-10

这篇文章更新于 226 天前,文中部分信息可能失效,请自行甄别无效内容。

在Powershell中运行脚本出错,提示如下

  • Windows - Cannot be loaded because running scripts is disabled on this system

使用管理员权限启动PowerShell,并解除禁止运行脚本

Bash
set-executionpolicy remotesigned

[[replyMessage== null?"发表评论":"发表评论 @ " + replyMessage.m_author]]

account_circle
email
web_asset
textsms

评论列表([[messageResponse.total]])

还没有可以显示的留言...
gravatar
[[messageItem.m_author]] [[messageItem.m_author]]
[[messageItem.create_time]]
[[getEnviron(messageItem.m_environ)]]
[[subMessage.m_author]] [[subMessage.m_author]] @ [[subMessage.parent_message.m_author]] [[subMessage.parent_message.m_author]]
[[subMessage.create_time]]
[[getEnviron(messageItem.m_environ)]]