>>Get-ExecutionPolicy<enter>
Resricted (or whatever the policy is set to).
>>exit<enter> (Typing “exit” leaves suspend mode and returns to the original command)
Are you sure you want…
Y<enter> (Confirms “Yes” and sets the ExecutionPolicy to “Unrestricted”).
执行实例截图:

聪明的你,明白了么?
好了,本节内容就到这里。本节中对PowerShell中对象、格式与参数的介绍,仅仅是其冰山一角,在后续的教程中,我们将继续利用今天学习的来进行工作。当然,在本节中还有很多其他我们尚未涉及到的内容、参数等,希望各位童鞋能积极利用PowerShell中所提供的工具进行探索,如"get-help"、"get-member"命令等。
Ps:最后,非常感谢各位能热情而持续的关注本教程,如果您有任何意见或问题,请进行留言,我将做详细解答!谢谢。










