by mtsimmons | Jul 23, 2010 | Uncategorized
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 mtsimmons | Jul 23, 2010 | Uncategorized
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 mtsimmons | Jul 22, 2010 | Uncategorized
If you want a fast way to get information about the uninstallers that are listed in the registry, then check out this simple script to parse out some information for you. $searchterm = read-host “Enter search term for uninstallers” $uninstallers =...
by mtsimmons | Jul 22, 2010 | Uncategorized
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 mtsimmons | Jul 21, 2010 | Uncategorized
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...