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

PS被禁止运行脚本

作者:Chancel Yang, 创建:2021-06-16, 字数:179, 已阅:76, 最后更新:2024-03-10

在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]])

还没有可以显示的留言...
[[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)]]