<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinmai_papa</author_name>
  <author_url>https://blog.hatena.ne.jp/shinmai_papa/</author_url>
  <blog_title>適材適所</blog_title>
  <blog_url>https://www.tekizai.net/</blog_url>
  <categories>
    <anon>PowerShell</anon>
    <anon>コマンドレット</anon>
  </categories>
  <description>ウィンドウのタイトル名から停止するプロセス選択する 関数化する コード 実行例 終わりに 色々なウィンドウを開いて作業をしていると、たまに処理がウィンドウがフリーズすることがあります。 一度そのような状態になってしまうと復帰するまで待つか、場合によっては復帰しないのでタスクマネージャーでタスクを終了するわけですが、どうせならPowerShellからできないものかと思いました。 PowerShellにはStop-Processコマンドレットというものがあります。 このコマンドレットを使うことでプロセスを停止することができます。 しかし難点はプロセス名やプロセスIDを指定しないといけない点。 プロ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.tekizai.net%2Fentry%2F2021%2F09%2F03%2F063000&quot; title=&quot;【Stop-Process】ウィンドウのタイトル名からプロセスを停止する【PowerShell】 - 適材適所&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/154717164/1629679331646494</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-09-03 06:30:00</published>
  <title>【Stop-Process】ウィンドウのタイトル名からプロセスを停止する【PowerShell】</title>
  <type>rich</type>
  <url>https://www.tekizai.net/entry/2021/09/03/063000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
