Archive for January 2013

 
 

PowerShell Next Steps

Well, since we know all about PowerShell now, we’ll need to prove it by writing some scripts. To do that, we’ll need to understand about the PowerShell’s logical operators and we have some help for that from our new best friends, Guy and Neolisk.

Guy tells us all about the $_ operator here. We’ll use this with pipes in a line like this:

Get-Something | Write-Host $_.SomePropertyOfSomething

Then, Neolisk helps us here. He tells us about the $_. and alot of other special commands. My favorite is ‘n which will send a newline character to my output.

hth

-robot