Piping Commands in PowerShell

We used the pipeline in our past posts. However, we did look into what they are and what they do. If you have had experience with Linux (or Bash in general), there is a good chance you know that the pipeline simply passes the output of a certain command to the command to its right. In this article, we discuss all about pipelines: Understanding the pipeline Using the pipeline to select properties Filtering the output based on a parameter How PowerShell outputs content Formatting the output Only in the end Wrapping up Understanding the pipeline Metaphorically speaking, think of a cmdlet as a machine.

A brief history of Windows

Among all the jazz of ClearType fonts and graphics, we often take for granted what is actually some serious task—running the hardware of a computer. Ever wondered how different the actual working of a computer is, compared to what we see on the screen? In reality, it’s overwhelmingly difficult to imagine how computers work, especially today. It’s hard to believe that two voltage-based states of a bunch of transistors and gates are able to show to us what we see on the screen.

About

Learning PowerShell is a journey. My kick-start was an eight-hour training with a trainer who took us through the basics of PowerShell, primarily the object model. From there, we launched into the space of automation using PowerShell. Today, I build automation solutions in PowerShell, starting from basic Windows automation such as listing out files and changing the time zone, to completely automated disaster recovery using VMware PowerCLI and Nutanix cmdlets.

Agile Workshop 2024

class: middle center Let’s get Agile class: middle The ‘Where are my manners?’ Slide How my brother got married – Long, long ago in the far away place called Kodinar Gujarati girls and the number 23 The visit to Bangalore ‘ASAP!’ How my brother got married Wedding options and splurging ‘I have no clue …’ Agile in books (and cousin’s LinkedIn profile) First hands-on with Trello

Aliases, execution policies and other friendly features

Everything comes with a learning curve. A slew of new commands, syntaxes, semantics and what not. The transition, usually, is not easy. I was taught C++ in school. However, we had to learn C during my Bachelor’s. It was tough, at first. I mixed up syntaxes. A lot. In this post, we talk about: Aliases in PowerShell Execution Policies in PowerShell ShouldProcess and ShouldContinue Aliases in PowerShell Making the transition from CMD difficult would be counter-intuitive, especially when Microsoft wants to encourage the use of PowerShell.