PowerTip: Find running services with PowerShell

Summary: Use Windows PowerShell to find running services.  How can I use Windows PowerShell to quickly produce a sortable list of running services on my computer?  Use the Get-Service cmdlet to return the services, and the Out-GridView to produce a sortable list: gsv | ogv Note   gsv is an alias for Get-Service, and ogv is an alias for Out-GridView.

5

Introducing the top five Hey, Scripting Guy! Blog posts in 2015

Summary: See which Hey, Scripting Guy! Blog posts were the top five in 2015. Today I feature Honorary Scripting Guy and Windows PowerShell MVP, Teresa Wilson, aka The Scripting Wife. Take it away Teresa… Hello everyone, with over 700 new posts a year on the Hey, Scripting Guy! Blog, the number one thing I hear…

1

PowerTip: Find Help about PowerShell Pipelines

Summary: Learn how to find Windows PowerShell Help about pipelines.  How can I find information so that I can read about Windows PowerShell pipelines?  Use the Get-Help cmdlet, specify the category of HelpFile, then type the word pipeline, for example: Get-Help -Category HelpFile pipeline

0

Incorporating Pipelined Input into PowerShell Functions

Summary: Microsoft MVP, Adam Bertram, talks about accepting pipelined input into Windows PowerShell advanced functions. Microsoft Scripting Guy, Ed Wilson, is here. Today Microsoft MVP, Adam Bertram, returns to talk about accepting pipeline input into advanced Windows PowerShell functions. Note   This is the second post in a series. Don’t miss Introduction to Advanced PowerShell Functions. When…

3

PowerTip: Find List of PowerShell Functions

Summary: Easily find a list of Windows PowerShell functions.  How can I produce a list of the Windows PowerShell functions that are currently available?  Use the Function PS Drive and the Get-ChildItem cmdlet: Get-ChildItem function:

0

Introduction to Advanced PowerShell Functions

Summary: Guest blogger, Microsoft MVP, Adam Bertram, talks about advanced Windows PowerShell functions. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post by Microsoft MVP, Adam Bertram. Take it away Adam… I’m a Pluralsight author and I develop online training courses that are mostly about Windows PowerShell. I recently had the…

1

PowerTip: Identify PowerShell Version

Summary: Learn how to easily find the version of Windows PowerShell, CLR, and WSMan.  How can I use Windows PowerShell to identify the version of Windows PowerShell that is running on my system?  Use the $PSversionTable automatic variable (you can use Tab expansion to avoid some typing).            The command and output are…

5

Where’s Waldo (and Where’s Ed)?

Summary: Ed Wilson, Microsoft Scripting Guy, talks about the future of the Hey, Scripting Guy! Blog and other stuff. Microsoft Scripting Guy, Ed Wilson, is here. If you are a regular reader of the Hey, Scripting Guy! Blog, you will no doubt have noticed that I have not been very active these past several weeks….

2

PowerTip: Use PowerShell to Perform Case-Sensitive Comparison

Summary: Learn how to perform a case-sensitive comparison in Windows PowerShell.  I need to compare two strings while taking case sensitivity into account. I try using -eq, but it does not work.             How can I use Windows PowerShell to perform a case-sensitive comparison?  Use the -ceq operator instead of -eq. Here are two…

0

Weekend Scripter: Unexpected Case Sensitivity in PowerShell

Summary: PowerShell MVP, Mike F Robbins, discusses case sensitivity in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Mike Robbins. Mike F Robbins is a Microsoft MVP for Windows PowerShell and a SAPIEN Technologies MVP. He is a co-author of Windows PowerShell TFM 4th Edition, and is a contributing author…

3