Friday, August 15, 2008

SOLUTION: Installing Windows PowerShell, a sophisticated tool


Since Windows Vista (XP and Server, as well) doesn’t store its management data in text-style representations, but rather in "datacentric stores" with thousands of classes /objects, and a graphical tool may be too cumbersome when dealing with hundreds and thousands of machines at the time, a cool tool using the command line, released in 2006, is good to have for Vista and Windows Server. That tool is the Windows PowerShell. Instead of just passing text (like the old DOS shell), PowerShell passes objects! .NET objects, to be exact. However, installing it in Vista was somehow confusing. Either I had PowerShell already installed in my system and that's why I got the puzzling message shown here, or this is the message that one anyhow gets after installing PowerShell. To start go to the Windows PowerShell 1.0 Installation Package for Windows Vista page. After going through the instructions you will end up downloading a file called Windows6.0-KB928439-x86.msu, which happens to be a "Microsoft Update Standalone Package (also known as Windows Vista hot fix Updates)", go figure. In addition, "you cannot upgrade a Windows-based operating system when you have Windows PowerShell 1.0 installed", should you need to upgrade your system. But as that page warns if you disable Windows PowerShell by using the Turn Windows Features on or off option, this does not satisfy the Compatibility Check process. You must uninstall Windows PowerShell. The solution (?) proposed here is to ignore the message (as shown above) and then hit the Start button or press the WinKey and type PowerShell to get to a link that will take you to this new Windows tool. Another clue to know if PowerShell is installed: the presence of a directory called %HOMEDRIVE%\Windows\System32\WindowsPowerShell\v1.0 where HOMEDRIVE is usually C:\, but it could be any other partition.

No comments: