Tag: PowerShell

Calculate What Date Thanksgiving is on with PowerShell

A quick search on the Internet turned up this definition for Thanksgiving: "Thanksgiving Day is a time for many people to give thanks for what they have". Based on that definition, I have a long list of things to be thankful for, however, this is a technology related blog site with an emphasis on PowerShell so I'll focus on being thankful for my PowerShell friends, the PowerShell community, an employer who supports my PowerShell addiction, and a wife & children who put up with me spending Read more [...]

PowerShell Magazine Brain Teaser Winner!

I received notification yesterday from PowerShell Magazine that I had won last weeks PowerShell Brain Teaser to "Assign a list of processes to a variable and output it to the console". The prize for winning that particular brain teaser was an eBook version of the recently released "Learn Windows PowerShell 3 in a Month of Lunches, Second Edition" book written by Don Jones and Jeffery Hicks: This weeks brain teaser is "Find a list of all IP addresses assigned to the local system". An eBook Read more [...]

PowerShell Book Deals for Monday – November 19th, 2012

Manning.com has three PowerShell Books onsale today, Monday - November 19th, 2012. The promo code to receive the discount on each book is dotd1119cc. Save 50% off "Learn PowerShell Toolmaking in a Month of Lunches" written by Don Jones and Jeffery Hicks: Save 44% off "Learn Windows PowerShell 3 in a Month of Lunches, Second Edition" written by Don Jones and Jeffery Hicks: Save 44% off "PowerShell in Depth" written by Don Jones, Richard Siddaway, and Jeffery Hicks: View Read more [...]

PowerShell Summit North America 2013 Apparel & Gift Store

I thought I would share the "unboxing experience" of my PowerShell Summit North America 2013 T-Shirt. The T-Shirt arrived in about a week with the economy shipping choice. It arrived in a mail type bag as shown below. The shirt was folded and had what I would call a brown paper ribbon around it with a cafe press sticker and a thank you card with my receipt in it: The color I chose was charcoal. The size is an X-Large which is what I normally purchase. No complaints about the size or color, Read more [...]

Book Deals: Three Awesome PowerShell Related Books Onsale Today For 50% Off

Manning.com has three awesome PowerShell related books onsale today for 50% off with promo code dotd1117cc. Learn Windows IIS in a Month of Lunches written by Jason Helmick Windows PowerShell in Action, Second Edition written by Bruce Payette Learn PowerShell Toolmaking in a Month of Lunches written by Don Jones & Jeffery Hicks View this deal. µ Read more [...]

Remove or Change Items on your PowerShell People Profile

First, start out by reading my blog from two days ago titled "Meet the People of PowerShell at PowerShell.org/People and PowerShell.net" otherwise you'll be starting in the middle of the story and this blog will only end up causing confusion. To change an item on your PowerShell People profile page, the item has to be removed and then re-added. With that said, we'll cover removing an item and see the previous blog article referenced in the first paragraph for how to add it back. In this example, Read more [...]

Book Giveaway: Learn Windows PowerShell 3 in a Month of Lunches, Second Edition

PowerShell Magazine has a "Brain Teaser" book giveaway going on where you post how to accomplish a specific task in PowerShell to try to win a copy of the "Learn Windows PowerShell 3 in a Month of Lunches, Second Edition" book written by Don Jones and Jeffery Hicks. This weeks brain teaser is: "Assign a list of processes to a variable and output it to the console". µ Read more [...]

Meet the People of PowerShell at PowerShell.org/People and PowerShell.net

Do you consider yourself a PowerShell person? If you haven't heard, there's a new online directory of the PowerShell community called PowerShell People. The site is a place to find other PowerShell enthusiast's blogs, webs sites, twitter feeds, and other items they've chosen to share. What's needed to get a profile page on the PowerShell People community site? Simply a knowledge of PowerShell. You heard me correctly, a knowledge of PowerShell is the only prerequisite for creating a PowerShell People Read more [...]

PowerShell: Save-Help for Modules that Aren’t Installed on the Local Computer without Copying Files

In my last blog article on this subject, I showed how to copy the PowerShell module manifest file from a server with the module you want to download the help for to the local computer to trick it into thinking the module was installed locally, but copying files can get messy and isn't really a robust way of accomplishing that task. The first method I used did get me thinking about this process though. If all the Save-Help cmdlet does is to look for the Module manifest file somewhere in the PowerShell Read more [...]

PowerShell Book Giveaways

There are a couple of PowerShell book giveaways going on that you may be interested in: PowerShell Magazine is giving away a copy of "Microsoft Windows PowerShell 3.0 First Look" written by Adam Driscoll. Alvin Ashcraft's Morning Dew is giving away two copies of "Learn Windows PowerShell 3 in a Month of Lunches, Second Edition" written by Don Jones & Jeffery Hicks. µ Read more [...]

The Scripting Guy Discusses Remote Management with PowerShell Version 3

The Scripting Guy (Ed Wilson) will be presenting at the Arizona PowerShell Users Group today, Wednesday November 7th from 3:30 to 5pm MST (Mountain Standard Time). If you can't be there in person, here's a link to the Arizona PowerShell Users Group page where the information to join the Lync online meeting is posted. I attended last month's online meeting and you'll want the Microsoft Lync 2010 Attendee fat client (not the web client). The fat client is the only way I found to hear the audio during Read more [...]

PowerShell: Save-Help for Modules that Aren’t Installed on the Local Computer

Update-Help and Save-Help are new PowerShell version 3 cmdlets which allow you to initially download PowerShell help and keep the local PowerShell help files updated that are installed on your computer and available via the Get-Help cmdlet. In PowerShell version 3, Save-Help allows the updated help files to be saved to a location where a machine that doesn't have Internet access can update it's help from. The problem is that in order to save help for a module, that module has to exist on the local Read more [...]

IT Pro’s are in for a Rude PowerShell Awakening When Upgrading Their Certifications to Windows Server 2012

I've had a lot of irons in the fire this year and haven't had time to dedicate to taking any certification tests year to date. This year, I've spent much of the time that I would have normally spent studying for certification tests, learning PowerShell instead. I competed in the Scripting Games earlier in the year. I finished in third place in the beginner class and lead the beginner class for more than half of the games: I attended several technology events as I normally do each year, but this Read more [...]

When Trying to Install PowerShell Version 3.0 You Receive the Message: “The Update is Not Applicable to Your Computer”

You've decided to install PowerShell version 3.0 on your computer. Your computer meets the requirement of running Windows 7 with Service Pack 1, Windows Server 2008 with Service Pack 2, or Windows Server 2008 R2 with Service Pack 1. If you're running Windows 8 or Windows Server 2012, you already have PowerShell version 3.0 installed. There are several different ways to check the operating system version and service pack level. In the following screenshot, I've run "winver.exe" and I can see that Read more [...]

Piping PowerShell Output to the Clipboard

It's definitely beneficial to attend technology events so you can talk to other IT Pro's. This past weekend I presented a session at PowerShell Saturday in Atlanta and while at the speaker dinner I made a comment about a new version of the PowerShell Community Extensions being released. The only cmdlet that's part of that module that I use all of the time is Out-Clipboard which allows you to paste the output of a PowerShell command into notepad, Word, an email, etc: Brian Wilhite, another PowerShell Read more [...]

Use PowerShell to Create Active Directory User Accounts from Data Contained in the Adventure Works 2012 Database

This past Saturday, I presented a session at PowerShell Saturday 003 in Atlanta. Towards the end of the presentation, I created 290 Active Directory user accounts by using the information for employees contained in the Adventure Works 2012 database. This is actually a PowerShell script that I whipped up Friday night at the hotel after the speaker dinner. I populated some demographic information by joining multiple tables together from that particular database. There is more demographic information Read more [...]