<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>newpops</author_name>
  <author_url>https://blog.hatena.ne.jp/newpops/</author_url>
  <blog_title>PowerShell Memo</blog_title>
  <blog_url>https://newpops.hatenadiary.org/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>「$host.ui」に関する考察 - PowerShell Memoで紹介し忘れましたが、 「$host.ui」の「PromptForChoice」メソッドを利用すると、コンソールに選択肢を表示し、ユーザに選択させることができます。 実行する前にユーザの判断が必要な時に利用 例えば、「confirm」オプションを指定した際に利用されています。 PS C:\&gt; notepad PS C:\&gt; Stop-Process -name notepad -confirm 確認 この操作を実行しますか? 対象 &quot;notepad (1908)&quot; に対して操作 &quot;Stop-Process&quot; を実行しています。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnewpops.hatenadiary.org%2Fentry%2F20061120%2Fp2&quot; title=&quot;コンソールに選択肢を表示する - PowerShell Memo&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>2006-11-20 00:00:01</published>
  <title>コンソールに選択肢を表示する</title>
  <type>rich</type>
  <url>https://newpops.hatenadiary.org/entry/20061120/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
