PowerShell


PowerShell and Your Dreams

PowerShell and Your DreamsPowerShell Power and Your Dreams

To truly appreciate PowerShell you have to suspend normal thinking, and instead place your brain in a Zen-like trance.  You need to bring to the front of your mind the worst administrative job, your most repetitive task, then believe that PowerShell commands could solve that problem.

Back to reality.  Only you can employ PowerShell to solve your computer problems.  Whether its an administrative task, or an operating system predicament, it would be too expensive to hire someone else to create a script on a task-by-task basis, therefore your salvation is down to PowerShell.

PowerShell Techniques

Naturally, PowerShell encourages the scripters time honoured technique of copying someone else's code, and then modifying to suit their computer.  An extra tool with PowerShell is the GUI scripting technique.  I have heard that Microsoft is threatening to provide special buttons on Exchange 2007's GUIs; their idea is reveal the code of the commands that you are executing.  To complete the plan, you cunningly dissect the script, add extra commands, and then execute the modified code from the PowerShell prompt.

Living the Dream

These next paragraphs are only for the true believer.  After between 10 minutes and 10 weeks of applying the above methods, you will have a eureka experience.  You visualise how to create your own command line instructions, which troubleshoot your servers.  In this dream, let us say the underlying problem is that one server is 'Running Slow'.  Here is Guy's idea of a brief for a PowerShell cmdlet,

  1. List the version numbers of all processes on all the servers on the local subnet.
  2. Group by Version number.
  3. Where count of version number is less than the count of servers
  4. List version.name. 

The result is a small list of all processes which have different or exceptional version numbers.  You can investigate this information and thus solve the problem of why one server is running slowly.

As a Windows Server administrator, you will see lots of flashy examples of what PowerShell can do.  At first you may think, 'hmmm... good but I won't be able to create that stuff'.  What I offer you is the dream that you will be able to create that script 'stuff'.  It won't be easy, but after a while, PowerShell will be only as difficult as a VBScript, DOS batch files, or what ever you have dabbled with before.  The benefit will be the awesome power.  That ability to issue instructions that do just what you have dreamt but not been able to achieve by GUI's or other utilities.

Guy Recommends: SolarWinds Engineer's Toolset v10Engineer's Toolset v10

The Engineer's Toolset v10 provides a comprehensive console of utilities for troubleshooting computer problems.  Guy says it helps me monitor what's occurring on the network, and the tools teaches me more about how the system literally operates.

There are so many good gadgets, it's like having free rein of a sweetshop. Thankfully the utilities are displayed logically: monitoring, discovery, diagnostic, and Cisco tools.  Download your copy of the Engineer's Toolset v 10

Summary of PowerShell and Your Dreams

Every scripting language promises the earth.  With PowerShell I say, firstly it's straightforward to get started with basic PowerShell commands.  Secondly, if you put in no more than average effort, you can create PowerShell instructions that will solve your most difficult server administration problems.

See more Microsoft PowerShell tutorials

PowerShell Home  • Introduction  • Dreams  • 3 Key Commands  • Cmdlet scripts  • Real life tasks

Remote PowerShell  • -Online  • WinRm and WSMan  • Invoke-Command  • Jobs  -asJob   • PowerShell

Please write in if you see errors of any kind.  Please report any factual mistakes, grammatical errors or broken links, I will be happy to not only to correct the fault, but also to give you credit.

Download my ebook:Getting Started with PowerShell
Getting Started with PowerShell - only $9.25

You get 36 topics organized into these 3 sections:
   1) Getting Started
   2) Real-life tasks
   3) Examples of Syntax.

In addition to the ebook, you get a PDF version of this  Introduction to PowerShell ebook  It runs to 120 pages of A4.

 *


Google

Web  This website

Review of Orion NPMGuy Recommends: Orion's NPM - Network Performance Monitor

Orion's performance monitor is designed for detecting network outages. A network-centric view make it easy to see what's working, and what needs your attention.

This utility guides you through troubleshooting by indicating whether the root cause is faulty equipment or resource overload.

Download a free trial of the Network Performance Monitor

 

Home Copyright © 1999-2009 Computer Performance LTD All rights reserved

Please report a broken link, or an error.