<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Windows on Nerdsid.com</title><link>https://nerdsid.com/tags/windows/</link><description>Recent content in Windows on Nerdsid.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 08 Apr 2026 05:17:46 +0000</lastBuildDate><atom:link href="https://nerdsid.com/tags/windows/index.xml" rel="self" type="application/rss+xml"/><item><title>Kill Any Process Using a Port in Powershell</title><link>https://nerdsid.com/posts/kill-any-process-using-a-port-in-powershell/</link><pubDate>Wed, 08 Apr 2026 05:17:46 +0000</pubDate><guid>https://nerdsid.com/posts/kill-any-process-using-a-port-in-powershell/</guid><description>&lt;p>Recently I wanted to start a server in port 8899 &amp;amp; I got an error telling that some other process is using it.&lt;/p>
&lt;p>Here is a one-liner you can use to kill an existing process bound to a port.&lt;/p>






&lt;div class="codeblock">
 &lt;div class="codeblock__header">
 &lt;div class="codeblock__filename codeblock__filename--lang">
 
 POWERSHELL
 
 &lt;/div>
 &lt;div class="codeblock__actions">
 
 &lt;/div>
 &lt;/div>
 &lt;div class="codeblock__body">
 &lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-powershell" data-lang="powershell">&lt;span class="line">&lt;span class="cl">&lt;span class="nb">Stop-Process&lt;/span> &lt;span class="n">-Id&lt;/span> &lt;span class="p">(&lt;/span>&lt;span class="nb">Get-NetTCPConnection&lt;/span> &lt;span class="n">-LocalPort&lt;/span> &lt;span class="mf">8899&lt;/span>&lt;span class="p">).&lt;/span>&lt;span class="py">OwningProcess&lt;/span> &lt;span class="n">-Force&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/div>
&lt;/div></description></item><item><title>Managing Multiple Python Installations on Windows</title><link>https://nerdsid.com/posts/managing-multiple-python-installations-on-windows/</link><pubDate>Mon, 05 Jun 2023 07:32:28 +0530</pubDate><guid>https://nerdsid.com/posts/managing-multiple-python-installations-on-windows/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>Managing multiple Python installations on Windows can be a challenging task. With the help of pyenv, it becomes much easier and efficient. In this article, we will explore how to set up and use pyenv to effectively manage multiple Python versions on your Windows system.&lt;/p>
&lt;h2 id="why-have-multiple-python-installations">Why have multiple Python installations?&lt;/h2>
&lt;p>Here is a non-exhaustive list of reasons why you might want to have multiple Python installations on your system:&lt;/p></description></item><item><title>Chocolatey - List Installed Packages</title><link>https://nerdsid.com/posts/chocolatey-list-installed-packages/</link><pubDate>Thu, 01 Jun 2023 07:32:28 +0530</pubDate><guid>https://nerdsid.com/posts/chocolatey-list-installed-packages/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>Chocolatey is a package manager for Windows. It is a command-line tool that allows you to install, upgrade, and uninstall software packages on your system. I have been using Chocolatey for a while now, and I find it to be a great tool for managing software packages on Windows.&lt;/p>
&lt;h2 id="list-installed-packages">List Installed Packages&lt;/h2>
&lt;p>If you wish to list all the Chocolatey packages installed on your system, you can use the following command:&lt;/p></description></item><item><title>Demystifying PowerShell Versions and Editions</title><link>https://nerdsid.com/posts/demystifying-powershell-versions-and-editions/</link><pubDate>Sun, 30 Apr 2023 05:27:57 +0000</pubDate><guid>https://nerdsid.com/posts/demystifying-powershell-versions-and-editions/</guid><description>&lt;h2 id="what-does-the-name-powershell-refer-to">What does the name PowerShell refer to?&lt;/h2>
&lt;p>PowerShell is a command-line shell and scripting language that is built on top of the .NET Framework. It can be used to automate tasks, deal with structured data (e.g. JSON, CSV, XML, etc.), interact with REST APIs, and more.&lt;/p>
&lt;p>Powershell is available in two editions: Desktop and Core. The Desktop edition is available on Windows 7/8/10/11, Windows Server 2019/2022, and in later versions of Windows. The Core edition is cross-platform and is available on Windows, macOS, and Linux. &lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>&lt;/p></description></item><item><title>Setup SSH Authentication for Git on Windows</title><link>https://nerdsid.com/posts/setup-ssh-authentication-for-git-in-windows/</link><pubDate>Mon, 13 Mar 2023 00:00:00 -0800</pubDate><guid>https://nerdsid.com/posts/setup-ssh-authentication-for-git-in-windows/</guid><description>&lt;h2 id="ssh-auth-vs-password-based-auth">SSH auth vs password based auth&lt;/h2>
&lt;p>SSH authentication is generally preferred over password-based authentication for several reasons:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Security&lt;/strong>: Passwords are easily guessed or hacked, whereas SSH authentication relies on cryptographic keys, which are much more difficult to crack.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Convenience&lt;/strong>: Once you&amp;rsquo;ve configured SSH authentication, logging in to a remote system becomes much easier. You don&amp;rsquo;t need to remember or type in a password every time you log in; instead, you just need to have your SSH key handy.&lt;/p></description></item><item><title>How to Uninstall the NuGet Package Provider: PowerShell Guide</title><link>https://nerdsid.com/posts/uninstall-nuget-package-provider-powershell/</link><pubDate>Mon, 20 Feb 2023 08:01:00 +0000</pubDate><guid>https://nerdsid.com/posts/uninstall-nuget-package-provider-powershell/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>I happened to install the NuGet Package Provider on my Windows 10 machine. I was prompted to install it when I tried to install the &lt;code>Tree&lt;/code> module (using the &lt;code>Install-Module&lt;/code> cmdlet). But later I realised that I didn’t need the Tree module. So I wanted to uninstall it. I couldn&amp;rsquo;t find any documentation on how to uninstall it. So I decided to write this article to help others who might be facing the same problem.&lt;/p></description></item><item><title>Equivalent of Linux Commands in Powershell</title><link>https://nerdsid.com/posts/equivalent-of-linux-commands-in-powershell/</link><pubDate>Wed, 26 Oct 2022 17:54:30 +0530</pubDate><guid>https://nerdsid.com/posts/equivalent-of-linux-commands-in-powershell/</guid><description>&lt;p>Being an avid linux user, I am used to the linux commands. But I often work on a windows machine, which is when I look for powershell equivalent of linux commands.&lt;/p>
&lt;p>I created this post to keep a track of the commands that I use often.&lt;/p>
&lt;h2 id="well-known-linux-commands-and-their-powershell-equivalents">Well-known linux commands and their powershell equivalents&lt;/h2>
&lt;p>The PowerShell commands for working with the file system are same as that of linux ones. You navigate around the file system with the &lt;code>cd&lt;/code> (alias for &lt;code>Set-Location&lt;/code>) command.&lt;/p></description></item></channel></rss>