<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>PowerShell - 标签 - lihuu — 系统工程、AI 工具链与 Rust 开发博客</title>
        <link>https://silentstormic.top/tags/PowerShell/</link>
        <description>PowerShell - 标签 - lihuu — 系统工程、AI 工具链与 Rust 开发博客</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Mon, 06 Jul 2020 11:19:42 &#43;0800</lastBuildDate><atom:link href="https://silentstormic.top/tags/PowerShell/" rel="self" type="application/rss+xml" /><item>
    <title>Powershell配置</title>
    <link>https://silentstormic.top/post/Powershell%E9%85%8D%E7%BD%AE/</link>
    <pubDate>Mon, 06 Jul 2020 11:19:42 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/Powershell%E9%85%8D%E7%BD%AE/</guid>
    <description><![CDATA[<h3 id="windows10-powershell-设置">Windows10 Powershell 设置</h3>
<p>首先 Powershell 的用户配置在用户目录的<code>Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1</code>文件中。</p>
<blockquote>
<p>美化需要安装一些插件，在 windows 平台上脚本的执行策略必须是<code>RemoteSigned</code>或者<code>Unrestricted</code>，可以使用<code>Get-ExecutePolicy</code>检查 powershell 脚本的执行策略。如果在安装的过程中出现脚本执行策略的问题，可以用<code>Set-ExecutionPolicy</code>设置脚本执行策略，例如 ，可以用如下命令 <code>Set-ExecutionPolicy Unrestricted -Scope CurrentUser</code>将当前用户的脚本执行策略设置为<code>Unrestricted</code>。</p>]]></description>
</item>
</channel>
</rss>
