Browsed by
Month: November 2015

Pipelines and Objects

Pipelines and Objects

Two strong points of PowerShell are the ability to work with Pipelines and Objects. PowerShell is built on top of .NET and has the ability to work with .NET objects as well as sending and receiving information from the pipeline. Objects To developers, asking them to go from an object based language to one that parses text for input/output would get you laughed at. That is exactly why when Microsoft decided to write a new console and scripting language they…

Read More Read More

Get Involved in PowerShell

Get Involved in PowerShell

I got a secret for you. The PowerShell community needs your voice. Your perspective on things. You might think that the community has enough talented people out there but you’d be wrong. It is time to get involved. The truth is, PowerShell has gotten big. Really big. It now covers the console shell, desired state configuration, and nearly every Microsoft product. Heck, with Nano server you’ll be expected to configure it using PowerShell remoting. It doesn’t matter how talented the…

Read More Read More

Formatting Output

Formatting Output

Formatting output from cmdlets doesn’t have to be complicated. PowerShell ships with cmdlets that can take the output from other cmdlets and display the information in a pretty way. Format-Custom, Format-List, Format-Table, and Format-Wide are the ways to present data at the console. Out-Default Out-Default is a cmdlet you likely have never heard of but rely on whenever you spit an object to the console. Out-Default is the cmdlet that figures out which way to format the information you have…

Read More Read More

Email

Email

I don’t mind getting emails from readers but I do however mind if my personal email gets spam. So, I’m taking a page out of [Mike F. Robbins](http://mikefrobbins.com/about/)‘s book and have encoded my email in base64. `bgBnAGUAdABjAGgAZQBsAGwAQABnAGUAdABjAGgAZQBsAGwALgBvAHIAZwA=` Figure out how to convert that to an email address using PowerShell and I’ll love to hear from you. Make sure to include the code you used as there is more than one way to accomplish this.