by Michael Simmons | Jul 23, 2010 | Windows PowerShell (Legacy)
Here’s a great piece of profile customization: Make your PowerShell session have a dark red background each time it starts a session running as an administrator. To do this, I look the built in $host variable, which has several properties in it, such as the...
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 22, 2010 | Windows PowerShell (Legacy)
From the I Love PowerShell archive Originally published in 2010. This article has not been revalidated for modern PowerShell. It remains available as a historical reference, but commands and external links may be outdated. — If you want a fast way to get...
by Michael Simmons | Jul 22, 2010 | Windows PowerShell (Legacy)
Alright, so you’ve built up your skills, developed your script, got all the kinks worked out and now it’s time to set the sucker up to do your work for you. I know, I’ve been there myself. This tutorial shows you how to setup a scheduled task to run your PowerShell...
by Michael Simmons | Jul 21, 2010 | Windows PowerShell (Legacy)
If you need to automate a task to create a file once a day, this PowerShell tutorial will help. This problem is handled in 2 parts: Doing the task you want to do; and saving the output. First things first: We need something to do Since this post is really about...
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...
by Michael Simmons | May 27, 2010 | Windows PowerShell (Legacy)
Just had a couple techs scratching their heads about finding the path. Seriously? Yes. But to be fair, the path can get long and downright hard to read. And that was the problem for our tech friends. Now my friends are smart guys, but they had a problem with a path....
by Michael Simmons | Apr 13, 2010 | Windows PowerShell (Legacy)
This quick free lesson in PowerShell teaches you how to use the ping class to get a list of offline computers. It is fast and easy, and the results are much easier to work with than using ping.exe. Hey. This post is from 2010. When it was written there was no...
by Michael Simmons | Apr 2, 2010 | Windows PowerShell (Legacy)
From the I Love PowerShell archive Originally published in 2010. This article has not been revalidated for modern PowerShell. It remains available as a historical reference, but commands and external links may be outdated. How to Move a Computer Account From Within...