Scripting Blog [archived]

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

Get started with PowerShell development in Visual Studio Code

Summary: Learn about the features in Visual Studio Code that help you write PowerShell code. Since the PowerShell integrated scripting environment (ISE) shipped with Windows PowerShell 2.0 in 2009, the PowerShell landscape has changed significantly. In November 2014, Microsoft took .NET open source and cross-platform. Given PowerShell’s ...

PowerTip: Capture the output of a Linux application in PowerShell

Summary: Use the built-in features of PowerShell to obtain data produced by a Linux application. (image) Can I run a Linux application like ls and capture its output in PowerShell? (image) You certainly can!  It’s no different from when you normally grab output from any other command in Windows.   To grab the output of the ls command, ...

Open Source PowerShell – Part 4

Summary: Install and Configure SSH for Open Source PowerShell remoting. (image) With PowerShell, up to this point, one thing that I love is the ability to connect various systems in my environment and run cmdlets on them remotely.  Can we do this with Open Source PowerShell? (image)  Honorary Scripting Guy, Sean Kearney, is here today to ...

Open Source PowerShell – Part 3

Summary: Pass and return data correctly between Bash and Open Source PowerShell. (image) Could you show me some examples of actually passing and returning values between PowerShell and Bash? (image) Honorary Scripting Guy, Sean Kearney, is here today and we’ll do exactly that. It isn’t difficult to actually to do this either, but there...