Have you found yourself writing PowerShell objects that you’d love to share with others? What’s the best way to get these things distributable? Well… with PowerShell 2.0, you have two different types of packaging – snap-ins and modules. Snap-ins Snap-ins were available in PowerShell 1.0 and are still supported in PowerShell 2.0. In order for […]

For those of you wondering why I’ve been talking PowerShell so much lately, it’s because Matt Hester (IT Pro evangelist at Microsoft and all-around awesome guy) and I co-wrote a book on PowerShell. When we first started writing this book, I was just a tech editor, but he offered me a chance to write appendices. […]

Here’s hoping the PowerShell community doesn’t block me from their websites for my awful taste of music. 😉 Today’s topic is the ISE, the Integrated Scripting Environment. This PowerShell host application, written in WPF, is new as of PowerShell v2.0. In this post, we will look at some of my favorite features. Panes As one […]

Sorry I’m not home right now Walking into IIS Webs Just leave a message and I’ll call you back – No Doubt, if they were techies So today we’re going to look into the IIS provider in PowerShell. If you aren’t familiar with PowerShell providers, check out Matt’s post on PowerShell providers. If you’re dealing […]

Matt and I really are huge fans of PowerShell providers. After talking about them in general and focusing on the registry provider, you think that we’d stop. But no… there are two more days of this talk of providers – Matt is going to talk about the Active Directory provider today, and I’m going to […]

Yesterday, Matt and I talked about providers, and I mentioned that I wasn’t going to go on talking about the registry provider, as that’s what Matt is talking about today! What’s nice is that you don’t have to type out HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER while working with this provider. You can refer to them by HKLM […]

Today, Matt is going to tell you about the awesomeness known as PowerShell providers. I have to admit that providers really are helpful. Sure, there are the PowerShell-specific providers – Alias, Function, and Variable. These can tap into the PowerShell system and help you determine what aliases, functions, and variables already exist. But then there […]

Downloading PowerShell scripts from the Internet could be risky business if there were nefarious PowerShell scripters out there. Thankfully, there’s this thing called an execution policy that can protect us from running risky scripts when it is used properly. Today, Matt is writing about execution policies in PowerShell. Read it and understand it. You don’t […]

PowerShell profiles are a great way to load frequently used custom functions, variables, aliases, modules, and PowerShell objects every time you start PowerShell. Today, Matt will talked about how to setup your profile and some of the things you might put in your profile. Matt mentions that there are 4 profiles – these are for […]

In my last post, I mentioned getting a little further with functions by covering the runtime life cycle. Now, let’s go a little further and explore some of the arguments of the Parameter attribute, some additional attributes that can be used, and finally the CmdletBinding attribute. Arguments of the Parameter attribute When working with parameters […]