<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>powershell on private Homepage von Rainer Rose</title>
    <link>https://www.rainerrose.de/tags/powershell/</link>
    <description>Recent content in powershell on private Homepage von Rainer Rose</description>
    <generator>Hugo</generator>
    <language>de</language>
    <copyright>Copyright © 1998-2026 Rainer Rose. All Rights Reserved.
</copyright>
    <lastBuildDate>Fri, 30 Jun 2023 16:24:51 +0200</lastBuildDate><atom:link href="https://www.rainerrose.de/tags/powershell/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Powershell</title>
      <link>https://www.rainerrose.de/docs/howto/powershell/</link>
      <pubDate>Fri, 30 Jun 2023 16:24:51 +0200</pubDate>
      <guid>https://www.rainerrose.de/docs/howto/powershell/</guid>
      <description><![CDATA[<!-- Anreißer -->
<p>Ein paar Powershell-Helferlein, Einzeiler, Dinge, die ich ab und zu brauche.</p>]]></description>
      <content:encoded><![CDATA[<!-- Anreißer -->
<p>Ein paar Powershell-Helferlein, Einzeiler, Dinge, die ich ab und zu brauche.</p>

<h2 id="sowas-wie-netstat-bzw-lsof" data-numberify>sowas wie netstat bzw. lsof<a class="anchor ms-1" href="#sowas-wie-netstat-bzw-lsof"></a></h2>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-powershell" data-lang="powershell"><span class="line"><span class="ln">1</span><span class="cl"><span class="nb">Get-Process</span> <span class="n">-Id</span> <span class="p">(</span><span class="nb">Get-NetTCPConnection</span> <span class="n">-LocalPort</span> <span class="p">&lt;</span><span class="n">Port</span><span class="p">&gt;).</span><span class="py">OwningProcess</span>
</span></span></code></pre></div>]]></content:encoded>
    </item>
    
  </channel>
</rss>

