PowerShell tutorial part 4

Almost all of your PowerShell statements are going to include string values. Most of the time these strings are simply passed to cmdlets as arguments, but in a few cases, those strings are enclosed in either double or single quotes. The rules that govern when to use single or double quotes are referred to as quoting rules. This tutorial will attempt to explain those rules.

Continue reading

PowerShell tutorial part 2.

This weeks PowerShell tutorial covers how to create pipelines and output management. Powershell pipelines are a series of cmdlets that pass objects from one to another. Each cmdlet generates an object and passes it to the next cmdlet via the pipeline. The receiving cmdlet uses that object as input and generates its own object as output. Connecting pipelines is done by using the pipe character (|).

Continue reading

PowerShell tutorial pt.1

Windows PowerShell is command-line scripting environment which uses the Microsoft .NET Common Language Runtime (CLR) and the .NET Framework. But unless you have Windows Server 2008 it doesn’t ship with Windows by default. You can however download it at www.microsoft.com/powershell. You will also need the .NET framework 2.0 if you don’t already have that installed.

Continue reading