September 18th, 2008

A Thousand Things 1% Better

PowerShell Team
PowerShell Team

One of my all time favorite books is The IBM Way by Buck Rodgers.  (Actually make that "all time BUSINESS books", it’s not in the same league as Discourse on Method or Thus Spake Zarathustra.)  One of my favorite statements Buck made was something to the effect of, "products of true enduring quality are not those that do 1 thing 1000% better but rather those products that do 1000 things 1 % better".  In other words, details matter. 

We tried to cover as many details as we could with V1 but frankly we covered so much ground that some things were not a crisp and clean as we would have liked.  Those things tend to be small issues and being small issues, they are often hard to get prioritized because there are so many big opportunities around.  At the end of the day, you only have so many calories to spend and the game is to figure out how to get the biggest customer value for every calorie you spend.  There are a bunch of things that just make me cringe when I use them in V1 but the great news is that we are addressing a bunch of them in V2.  We recently had some checkins that had a number of fixes that had me dancing in the hallways (sad but true [I can’t tell you how much I LOVE this stuff!]). 

Here are a couple:

The output of the ENV, ALIAS, FUNCTION and VARIABLE drives are now sorted! 

PS> dir env:

Name                           Value
—-                           —–
ALLUSERSPROFILE                C:\ProgramData
APPDATA                        C:\Users\jsnover\AppData\Roaming
CommonProgramFiles             C:\Program Files\Common Files
ComSpec                        C:\Windows\system32\cmd.exe

USERNAME                       jsnover
USERPROFILE                    C:\Users\jsnover
windir                         C:\Windows 

When you ask for HELP on something and we can’t find it, we’ll search for it.
PS> help remote

Name                              Category  Synopsis
—-                              ——–  ——–
about_remote                      HelpFile  How to run remote commands in Windows PowerShell.
about_remote_FAQ                  HelpFile  Questions and answers about running remote commands
about_remote_jobs                 HelpFile  How to run background jobs on remote computers
about_remote_output               HelpFile  Interpreting and formatting the output of remote commands
about_remote_requirements         HelpFile  System requirements and configuration requirements for running
about_remote_troubleshooting      HelpFile  Troubleshooting remote operations in Windows PowerShell

DIR no longer shows the PROVIDER PATH at the top.

PS> dir c:\

    Directory: C:\

Mode                LastWriteTime     Length Name
—-                ————-     —— —-
d—-          9/3/2008  12:28 PM            doctemp
d—-          9/3/2008  12:28 PM            Drivers
d—-         9/17/2008   8:34 PM            Kits
d—-         1/20/2008   6:32 PM            PerfLogs
d-r–         9/18/2008  10:00 PM            Program Files
d-r–         9/18/2008   9:44 PM            ps
d-r–         9/10/2008   1:49 PM            Users
d—-         9/10/2008   7:24 PM            Windows
-a—         9/18/2006   2:43 PM         24 autoexec.bat
-a—         9/18/2006   2:43 PM         10 config.sys

So that’s 3 down and 997 to go.  :-) 

Enjoy!

Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell Scr iptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Category
PowerShell

Author

PowerShell Team
PowerShell Team

PowerShell is a task-based command-line shell and scripting language built on .NET. PowerShell helps system administrators and power-users rapidly automate tasks that manage operating systems (Linux, macOS, and Windows) and processes.

0 comments

Discussion are closed.