I stopped avoiding PowerShell after these 3 Windows tweaks

As a dedicated Windows user who also dabbles in Linux, I often ponder why PowerShell hasn’t been a more prominent part of my toolkit compared to the Linux Terminal. It’s not that PowerShell is intimidating; rather, it has more to do with my approach to Windows and the role PowerShell plays within that ecosystem. After some introspection and adjustment, I found myself embracing PowerShell more frequently, discovering that it not only simplified certain tasks but also felt more intuitive than navigating through the graphical user interface.

I made PowerShell easier to reach

Less friction, more usage

For an extended period, PowerShell was not integrated into my daily Windows workflow. Accessing it often felt like an unnecessary hurdle. I would search for it in the Start menu when needed, execute a command from a guide, and then promptly close it, returning to my usual routine.

One of the first changes I implemented was to streamline access to PowerShell. I began using Windows Terminal more regularly, pinning it to my taskbar instead of allowing it to languish among countless other applications. I also discovered the convenience of the “Open in Terminal” option in File Explorer while navigating through folders.

Additionally, I started utilizing keyboard shortcuts that had previously gone unnoticed. For instance, pressing Win + X, followed by i, opens the Power Users menu and launches Windows Terminal. In any folder within File Explorer, a simple Shift + Right-Click on an empty space reveals the option to “Open PowerShell window here.” I even learned to launch PowerShell directly by typing it into the Address Bar of File Explorer. These seemingly trivial adjustments significantly influenced my tool usage, as the ease of access often dictates whether I opt for PowerShell or stick with the GUI.

The impact of these changes was immediate. Tasks I typically performed through menus—such as checking IP configurations, terminating unresponsive processes, or retrieving system information—began migrating to PowerShell, simply because it was more readily available.

Making PowerShell look better

It made me want to stay longer

Even after increasing my usage of PowerShell, I still found the experience somewhat lackluster. The default interface was functional but uninspiring, making it difficult to quickly scan information. Thus, I took the plunge into customization.

The most significant transformation came from installing Oh My Posh, a prompt theme engine for PowerShell that enriches the command line with contextual information. I installed it via winget, paired it with a Nerd Font for proper icon rendering, and configured a theme in my PowerShell profile to ensure it loaded automatically with each session. This upgrade turned PowerShell from a basic text prompt into a visually appealing and informative workspace.

But I didn’t stop there. I explored various color schemes in Windows Terminal, experimented with different fonts, enabled transparency, and dedicated considerable time to testing themes until I found the perfect fit. The customization options in Windows Terminal made these enhancements surprisingly straightforward.

Aliases and profile tweaks turned PowerShell into a time saver

Tiny tweaks for a real workflow boost

With PowerShell now easier to access and more visually engaging, the next step was to enhance its functionality through aliases and profile tweaks. Initially, I found myself repeatedly typing the same commands or searching for ones I had previously used. Commands like Get-ChildItem became tedious, and I often resorted to copying from command history due to forgetfulness.

To address this, I began making minor adjustments to my PowerShell profile, a script that executes every time PowerShell starts. This allowed me to load modules, define aliases, create functions, and automate repetitive tasks seamlessly. My first modifications were straightforward; I added aliases for frequently used commands and created shortcuts for longer commands that I found cumbersome to type. For instance, I set grep to execute Select-String, providing a quicker method for searching text in files, particularly since I was already familiar with the command from Linux tutorials.

While PowerShell allows for temporary aliases using Set-Alias, I wanted my customizations to persist across sessions. Thus, I incorporated them into my PowerShell profile by opening the profile script and saving my aliases alongside other startup tweaks. This ensured that my tools and customizations were automatically loaded every time I launched PowerShell.


When PowerShell Became Normal

My journey with PowerShell was not initially driven by a desire to rely on it for everything. For a long time, it was merely a fallback option. However, as I became more accustomed to its capabilities, I realized that I could resolve numerous Windows issues efficiently through PowerShell, transforming it into an indispensable tool in my workflow.

Winsage
I stopped avoiding PowerShell after these 3 Windows tweaks