以下の内容はhttps://newpops.hatenadiary.org/entry/20060118/p1より取得しました。


「Shell.Application」の活用(1)

「Shell.Application」はWindowsのシェル機能を利用できるCOMオブジェクトです。

URLに任意文字列を含むIEを終了させる
(Quit the IE with URL that contains specified string)

URLに「google」を含むIEを終了する
function quitIE()
{
    PARAM([String]$urlKeyword)
    $app = new-object -com Shell.Application
    $app.Windows() | where{$_.Document.URL -match $urlKeyword} | foreach{$_.quit()}
}
quitIE "google"



以上の内容はhttps://newpops.hatenadiary.org/entry/20060118/p1より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14