Author: Lee Ives
For years people that have come from a Unix background have complained about the lack of command line tools that the Windows line of operating systems just did not supply.
The most recent line of Windows operating systems has a virtual dos based command line but it in no way had the large amount of features that something like the Bash command line had over in Linux.
Several years ago Microsoft introduced the Powershell command line system to windows. It’s purpose was to bring a powerful command line editor similar to what people had over in the Unix family.
The only thing that was different is that you had to download Powershell separately from the actual operating system. Now with the release of Windows 7, Powershell comes with the operating system ready for action.
Powershell is not a feature that is meant for most of the Windows user out there. Most people like the graphical interfaces that Windows provides and would hate to be forced to do anything by command line like you are sometimes forced to do in Linux.
Powershell was not created with that in mind. It was created so that people that were use to working in Linux and other Unix based operating systems felt more comfortable about making the switch over to windows.
To turn on Powershell in Windows 7 you first have to click on the Start button, then hit All programs.
After that click on accessories and scroll down until you see the Windows PowerShell folder.
Click on that and you will see a blue screen pop up waiting for a command to be typed in.
People who are not used to using a powerful command line tool might be thinking that this no different than using the old version of command line. They are wrong, for one thing you have a feature called pipe lining that is available now. This is a feature that allows you to take the output of one program and input into another program.
For an example, if you were typing text into notepad and wanted to email it, all you would have to do is type one command into powershell, which would send the text to the email program and the action would be done. Pipelining is a powerful feature once you get used to using it.
Powershell also comes with a powerful scripting language that is not only object orientated but also is considered a first class citizen of the .Net family. This will allow you to create shell scripts like you can in Unix. The difference is that the scripts will be able to reach out to the .Net framework and make a ton of features easier to access. When you script something in powershell it is called making a cmdlet.
There is so much that you can do with with the scripting language that we will not be able to cover it all here.
Another feature that was made particularly for the people that are coming from a unix background is the ability to give Powershell commands aliases. This means that if a command has one name, you can force that same command to be called by another name. For example in windows usually if you want to see the contents of a directory in the command line you would call the “dir” command.
If you are coming from a Linux background then you would type that same command as “ls”. Now instead of getting used to the windows version, they have already created an alias for you where “ls” will do the expected behavior that someone from a linux background would expect. You can also make your own custom aliases as well.
I hope that we have giving you a good ideal why the Windows Powershell in Windows 7 is such a good thing. even if you are not coming from a Unix/Linux background learning the powershell can make your computing experience a lot easier.
Article Source: http://www.articlesbase.com/operating-systems-articles/using-powershell-in-windows-7-1692410.html
About the Author:
Lee Ives writes an Internet Security blog which contains many more articles about securing your new Windows 7 installation.
by: Sandra Prior
Windows 7. In a neat little nutshell: It’s Vista, but the Vista we wanted back in 2007. Polished, working, ready for whatever you throw at it, and with the endless UAC prompts forever banished to whatever hell we’re meant to send well-meaning, but ultimately insufferable attempts to help us out We don’t know exactly where that is, but we’re pretty sure that Oprah record a chat-show there.
Unlike Microsoft’s previous operating systems, Windows 7 received a massive public beta. Chances are you’ve already downloaded it, and if not, at least at the time of writing you could still get yourself a product key from the website, should a ‘friend’ happened to have downloaded it in time. Even if you don’t want to risk a beta OS on your computer, all this is a good sign that we won’t be waiting long for the finished code, and that it’ll be worth the incredibly short wait. Even now, it’s incredibly stable, fully functional, and far more reliable than it has any right to be.
Not only does this mean that the final release should be good to go out of the box, every developer and hardware manufacturer out there is playing with the same code, readying drivers, updating installation systems, and generally getting ready to go. This is particularly important, because many of Vista’s initial problems were a result of the rest of the industry being slow to adapt to it, as opposed to issues with the OS itself. Not only is the basic platform largely the same, thus reducing potential compatibility issues, there’s no excuse for anyone not to be ready. Our laptops now feature the 3D graphics support to handle Aero. Our desktop PCs laugh in the face of the system requirements. Put it on netbooks? We can probably get it to run on toasters.
The most visible change from Vista is Windows 7’s revamped interface. The Start menu is more or less the same, but the Taskbar is one continuous Quick Launch bar that keeps all your programs right in front of you. It changes things more than you’d expect, especially if you keep forgetting to do things like put your photographs into a gallery, or browse with several windows open at once. Overall, it’s a good change - but can be problematic at times. Most notably, it’s tough to distinguish between an icon you click to start a program, an active program, and an active program with multiple windows. Several apps feature other minor quirks too. As just one example, if you’re running Firefox and close it after a download, clicking on the Start icon will only pop up the Downloads box. Vista simply pops up a new window. Easy.
Most of the other interface changes revolve around tweaking the standard interface. Windows 7 is much better at serving up links to recently used content and folders, such as the Jump Lists at the top of its menus. Another feature we miss every time we go back to Vista is Windows 7’s updated notifications panel, where you can go in and either switch off things like a program’s control panel or updater icon, or at least tell it not to appear unless it’s got something it needs to tell you. This clears up vast amounts of real-estate, if admittedly not as well as our suggested method: sending painful electrical shocks to any programmers who insist on giving their bloody update programs a permanent place in our computers’ memory. (Don’t ask about the second offence…)
Finally, at least for now, Windows 7’s actual windows are much smarter. Drag one to the top of the screen and it maximizes. Break it away and it goes back to its original size. It’s a snap to make one fill half the screen, or ‘peek’ through it to your desktop, all at the touch of a key or sweep of the mouse.
While Windows 7 upgrades the OS itself, not everything from Vista has made the cut. The much-ballyhooed but rarely used Sidebar is gone for instance, usurped by the almost equally ignored Gadgets, which has now been given the run of the desktop instead. Tools such as Photo Gallery, Windows Mail, Windows Calendar and Windows Movie Maker are also missing in action, with the idea being that you just download the free Windows Live suite that ties into Microsoft’s assorted online services. This isn’t a problem though, and means that when you do download them, at least you’ll be getting the latest versions, complete with any added features. It also means that Microsoft has more of an incentive to keep building on them, instead of holding out for Windows 8.
Despite the cuts, most of the classic apps are still around, and updated for the new version. If you love the Ribbon from Microsoft Office 2007, you’ll be happy to see its inclusion in the new WordPad. If not, well, bad news. Paint has also seen an upgrade, dragging it kicking and screaming into, oh, at least 1992. At this heady rate of progress, we’ll be ready to rock the artistic world with the latest image editing technologies roughly five minutes before the heat of the sun kills everything. So that’s something to look forward to.
In theory then, we’re in for a good release. However, the devil is in the details - and that’s always going to be more subjective. Speaking personally, and having used Windows 7 for a couple of months, I’ll be picking it up at launch. The only showstopper bug I’ve encountered is a minor one involving my volume controls - Windows 7 tells me that it can’t find my soundcard, but this isn’t enough to stop it playing sound.
If there’s a disappointment, it’s that there’s nothing in Windows 7 that lets me personally do anything new, or even in a particularly new way. Speech and handwriting recognition aren’t going to take over from the good old mouse and keyboard any time soon, I’m still too lazy to make proper use out of My Documents when the Desktop is available, and the only thing that happens if I test my monitor for multitouch support is an unsightly fingerpint. There are definitely features for more ambitious users - the new version of Media Centre is particularly good - but overall, it’s all fairly familiar stuff.
However, here’s the important bit. It’s familiar in a good way. It’s familiar in the sense that after a couple of minutes, you’re ready to use it and get on with your day. Where Vista repeatedly got in the way with its new features and flashy ways of doing everything Windows 7 keeps to itself and dials out the distractions. That’s what marks it down as a mature platform, new features be damned, and why I’ll be installing it on my computers out of choice, rather than the necessity I felt when Vista was talking up DX10 and its other landmark changes. It’s not simply a new shiny thing, but a much needed second change for the Vista OS that’s going to be the PC standard for a while yet.
Article Source:
http://www.articlecity.com/articles/computers_and_internet/article_4824.shtml















