by Michael Simmons | Sep 11, 2015 | PowerShell Basics
I saw an interesting approach to working with a hashtable the other day. It started with this: $hashtable = @{} This is different than how I usually create an array: $array = @() And also different from creating a PowerShell object: $PSObject = [PSCustomObject]@{}...
by Michael Simmons | Nov 4, 2011 | PowerShell Basics
When you use a command often, you may want to be able to access that PowerShell cmdlet more quickly from the console. There are many aliases that PowerShell recognizes by default, but if you want to create your own, you can save yourself a lot of keystrokes.FIND...
by Michael Simmons | Dec 22, 2010 | PowerShell Basics
I administer a lot of computer brands, and support a wide ecosystem. But I see a lot of Dell Laptops, Desktops, and Servers in my normal day-to-day. A common task is to rebuild a system, or to update a driver after troubleshooting blue screens. When it’s time to...
by Michael Simmons | Jul 23, 2010 | PowerShell Basics
Excellent profile customization. I use this one myself, and honestly it’s my favorite one. Keeps my head in the right place. This PowerShell profile customization is simple and sweet: Go grab a webpage source; parse the lines to get to the juice;...
by Michael Simmons | Jul 21, 2010 | PowerShell Basics
The need: To run multiple PowerShell windows and keep it straight which one is working on what. Example: In PowerShell window #1 you’re working with SharePoint In PowerShell window #2 you’re working with Active Directory users In PowerShell window #3 you’re...
by Michael Simmons | May 27, 2010 | PowerShell Basics
Whether you’re new to PowerShell or not, when you find yourself ready to start customizing PowerShell and making it do a few tricks, you’re going to want to setup your profile. Don’t worry, I will show you how to create your profile, and even show...