<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>PowerShell7</anon>
    <anon>Windows</anon>
  </categories>
  <description>初期設定だとPowerShell 7はスクリプトの実行後に消えますが、レジストリを以下の通り書き換えると実行後も消えません。@は既定値です。 [HKEY_CLASSES_ROOT\Applications\pwsh.exe\shell\open\command] @=&quot;C:\Program Files\PowerShell\7\pwsh.exe&quot; -NoExit &quot;%1&quot; 実行後に消えるよう戻すには「-NoExit」を消します。 [HKEY_CLASSES_ROOT\Applications\pwsh.exe\shell\open\command] @=&quot;C:\Program Files\Po…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2020%2F09%2F27%2F183006&quot; title=&quot;Windows 10でPowerShell 7が実行後に消えないようにする - potisanのプログラミングメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-09-27 18:30:06</published>
  <title>Windows 10でPowerShell 7が実行後に消えないようにする</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2020/09/27/183006</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
