Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Latest posts

Jan 16, 2016
Post comments count 0
Post likes count 0

PowerTip: Find Processes by Using Wildcard Characters

Doctor Scripto

Summary: Learn how to use wildcard characters and Windows PowerShell to find processes.  How can I use Windows PowerShell to easily see all processes that contain the letters SV in the process name?  Use the Get-Process cmdlet and a simple wildcard pattern, for example: gps *sv* Note   gps is an alias for Get-Process.

Jan 16, 2016
Post comments count 0
Post likes count 0

Weekend Scripter: PowerShell Saturday in Tampa,FL, March 19, 2016

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about Windows PowerShell Saturday in Tampa Florida on March 19, 2016. Microsoft Scripting Guy, Ed Wilson, is here. There are worse places to be in March than in Tampa, Florida. If you come to Florida, you might see the elusive and endangered Florida panther. You could see a bear. If you get out on the water, you will more than likely see a dolphin. You will probably see a gator, especially if you hang around swamps and creeks. What I can say for sure, is that if you are in Tampa on March 19, 2016, you will definitely see some awesome Windows PowerShell. The othe...

Jan 15, 2016
Post comments count 0
Post likes count 1

PowerTip: Use PowerShell to Find Command Line of Processes

Doctor Scripto

Summary: Learn how to use Windows PowerShell to find the command line of processes.  How can I find the command line that was used to launch a process that is running on my system?  Use the Get-CimInstance cmdlet, the Win32_Process WMI class, and the CommandLine property: gcim win32_process | select commandline Note  gcim is an alias for Get-CimInstance.

Jan 15, 2016
Post comments count 0
Post likes count 0

Working with Windows Startup Processes and PowerShell

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using Windows PowerShell to examine startup processes in Windows 10. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am playing with the Xbox One Smart Glass app on Windows 10. I have used the app since it was in beta, and I just got my Xbox One. But I have started using the Pandora app on my Xbox One, and I like to do stuff like mute advertisements, skip boring songs, change stations, and otherwise control the app. Yeah, I can use my Xbox controller, and with a recent firmware update, it does connect faster, and has better battery life, bu...

Jan 14, 2016
Post comments count 0
Post likes count 0

PowerTip: Find PowerShell Cmdlets that Work with CSVs

Doctor Scripto

Summary: Learn how to find Windows PowerShell cmdlets that work with CSVs.  How can I find Windows PowerShell cmdlets that I can use to work with a CSV file?  Use the Get-Command cmdlet and look for cmdlets that have a noun of CSV: Get-Command -Noun csv*

Jan 14, 2016
Post comments count 0
Post likes count 0

Use PowerShell to Work with Data from MS OMS

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using Windows PowerShell to parse data obtained from Microsoft Operations Management Suite. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I have been working on a lot the past month is the new Microsoft Operations Management Suite Blog. For one thing, it is on the new blogging platform we using at Microsoft, so the blog is like a new toy with lots of fun things for a geek to play with. In addition, Microsoft Operations Management Suite (MS OMS) is a tremendously powerful platform that uses Windows PowerShell in the background, so it is also...

Jan 13, 2016
Post comments count 0
Post likes count 0

PowerTip: Find Help about PowerShell Pipelines

mredwilson

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

Jan 12, 2016
Post comments count 0
Post likes count 0

Incorporating Pipelined Input into PowerShell Functions

mredwilson

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 you begin to learn Windows PowerShell, you'll soon find yourself neck-deep in objects. Objects are one of the fundamental concepts of what makes PowerShell so user-friendly—and powerful at t...

Jan 12, 2016
Post comments count 0
Post likes count 0

PowerTip: Find List of PowerShell Functions

mredwilson

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: