Tuesday, October 20, 2009

Inaugural Post

So pat yourself on the back(but not too hard) you are now reading my inaugural post for my blog, Power Of The Shell.

One of the best things I find about Powershell is simply what it can do. The answer is EVERYTHING! I have yet to find a task that's been brought to me, that required something to be done automated, or something that needed to be done repeatedly that I couldn't do with Powershell.

Need to setup Terminal services profiles for your users? One liner it with Powershell:

Get-QADUser -IncludedProperties LogonName |Foreach {Set-QADUser -Identity $_.name -TsProfilePath (Join-Path -path \\ServerA\TsProfiles\ -childPath $_.LogonName)}


The possibilities are almost endless

Personally, I've done some pretty cool stuff with Powershell.

One client needed specific permissions set on a certain folder, the only problem was their were hundreds of these folders, and the permissions needed to be kept up to date, and be applied to newly created folders. Well with Powershell I created a template folder with the right permissions took those permissions assigned them to a variable, then recursed. Whenever I found the folder I was looking for, I set the permissions on it.

At one time we needed to modify the client permissions on Public Folders within Outlook, again it was multiple folders, and with Powershell it was a snap.

I hope if you've gotten anything from this, it's that you CANNOT afford to think Powershell is only for programmers, or for script monkeys. It is for anyone in IT at all, not just Windows as well. Manage Citrix, or VMWare, check out the cmdlets for those products. The future is now people!

Look forward to more posts in the future.