PowerShell too hard?

In an article on the Windows IT Pro site - http://www.windowsitpro.com/article/commentary/Bridging-the-Developer-Admin-Gap.aspx – Paul Thurrott states

But the problem with PowerShell is that it's so powerful its indecipherable to admins. PowerShell is arguably a full-blown development environment. It consists of a command-line shell, a .NET-based, object-oriented scripting language, and a runtime engine that can optionally be embedded in other applications. For the typically overworked admins and IT pros, PowerShell might be a godsend if they could actually use it. But I was of the mind in 2002—as I am today—that most admins and IT pros have a completely different set of skills and are overworked as it is. To really take advantage of PowerShell, you need to be a developer or learn those skills too. And finding people who have credible administrative and developer skills is quite a trick. If you're such a person, maybe it's time to ask for a raise.

 

Now I disagree totally with the crux of this paragraph for a number of reasons:

  1. PowerShell is not a full-blown development environment. You can do practically anything .NET based with it but just because you can doesn’t mean you should
  2. I know of many Windows administrators who have picked up PowerShell and learnt enough, quickly enough to be very productive and re-pay the time spent learning it many times over. There  is a sufficient body of knowledge available through the web – including articles in Windows IT pro that a PowerShell beginner can find the information they need to help solve their problem
  3. You do not have to be a developer to really take advantage of PowerShell – or any other scripting language. PowerShell is particularly good for the admin as it abstracts much of the .NET code into the cmdlets. If you use a cmdlet you don’t need to know, or even care, what .NET class is being used in the back ground.
  4. How much of a developer do you have to be to string cmdlets on the pipeline and come up with a powerful piece of functionality that solves your business problems now

In 2006/2007 when PowerShell was just getting started I might of agreed that starting with PowerShell could be viewed as a steep learning curve. Four years later I think it is a lot easier – again Windows IT Pro have published a number of articles on PowerShell – with much more information available.

I would turn this on its head and state that if you are a Windows administrator that isn’t using PowerShell you are making your life more difficult that it needs to be.

Published Tue, Aug 10 2010 20:39 by RichardSiddaway
Filed under: ,

Comments

# re: PowerShell too hard?

My two bits would be:

1. Anything that "requires" PowerShell to do should really be given priority to the UI guys to incorporate into whatever product the Powershell command is needed in.

2. All UI actions should "offer" the Admin the Powershell equivalent of the command (such as Exchange often does) so this can be give the Admin a legup on re-using.

Tuesday, August 10, 2010 3:19 PM by Robert

# re: PowerShell too hard?

I agree.  There is undoubtedly a learning curve, but there's a lot of really good tutorials (including several free ones) that will have most sysadmins using it quickly.  It might take longer for sysadmins who are not comfortable with scripting, but that's going to be true with any "scripting" solution.  The point about the availability of an embeddable version is completely missing the point.  Almost everyone will ignore this as not something they need, but those of us who want something like this are very grateful.

Tuesday, August 10, 2010 3:28 PM by Mike Shepard

# re: PowerShell too hard?

I don't know Richard, I enjoy playing with Powershell and there's a lot of wow factor in what it can do but on a day to day basis, I have a hard time keeping my skills up. Powershell was very helpful when we did a file server migration for example where I was parsing paths and using a decision tree to copy hundreds of files. But if I have a user that can't print because of a driver issue on the print server (a LOT more common issue), how would PS help me there? It seems like daily admin tasks deal in aberrations and one-off situations where coding a powershell solution is just not a good use of time.

Wednesday, August 11, 2010 9:08 AM by Keith

# re: PowerShell too hard?

I agree with Richard. I read Paul Thurrott almost daily and find the he is usually on target but this time I have to disagree. I'm an admin with barely any developing experience. In 2008 I picked up PowerShell and yes, there was a learning curve but once I understood how cmdlet's generally worked I was able to apply that knowledge exponentially. PowerShell quickly became my favorite tool and today I've been able to solve more problems in less time than I could have ever dreamed.

Wednesday, August 11, 2010 12:15 PM by Rich Kusak

# re: PowerShell too hard?

I've been into Powershell since 2006 now and would not do anything differently. I don't consider myself anywhere near "expert" in Powershell, but I have been able to come up with (I think) some amazing functionality that has saved the company I work for a shedload of money. My thanks? Unwavering and unrelenting criticism at every level for developing solutions in a language "no one knows" and if I get "hit by a bus", "no one will ever be able to figure out how it works!". I have fell out with managers time and again over my choice to use Powershell and met with nothing but resistance whenever I've wanted to deploy it.."what it if it crashes the server?".

My judgement in this matter has repeatedly been called into question and it has been brought up in my annual performance review. The fact that I have probably saved hundreds of hours of overtime is simply overlooked, because, due to the Power or Powershell the company never suffered the pain of the outlay prior to the solution being available!

I offered to train four other guys in Powershell and subsequently gave them a start in the language that I would have killed for. Now, months later, none of them will go near it: "Too complicated for me, sorry".

I love Powershell, truly and deeply, but I feel aggrieved that MS has not done more to "push" Powershell into IT managerial focus and thereby back up my claims that it's "the way forward".

The book on my desk right now is "learning perl". Not because I believe in perl more than Powershell, but because there is an intranet course available to my company in perl, so they believe that they can train someone in that, if I were to leave. They have "no plans" for Powershell training .. of any kind. The IT company who provides our training hadn't HEARD of Powershell when I enquired about it!

It's a tragic, deplorable yet very real situation.

-kryten

Sunday, August 15, 2010 2:52 PM by kryten

Leave a Comment

(required) 
(required) 
(optional)
(required) 
If you can't read this number refresh your screen
Enter the numbers above: