Getting and Installing PowerShell

Blogged in Windows Vista Friday March 30, 2007 at about 9:04 pm

If PowerShell isn’t already installed on your computer, and you need its functions, take the following steps to obtain and run it:

1.Visit Download Site, search for “powershell,” and download the free package that contains the installer.
2.Run the installer.
3.Click Start ➪ All Programs ➪ Windows Powershell to open the command-line environment.

When you start PowerShell for the first time, it may ask you, “Do you want to run software from this untrusted publisher?,” referring to Microsoft. You need to answer Always Run in order for scripts signed by Microsoft to run. This includes files that are included with PowerShell, so you won’t get much use of the environment if you’re not willing to run Microsoft-signed scripts.

As an alternative to Step 3, you can use the Start menu to open a command prompt, which runs Cmd.exe. You can then type powershell and press Enter to start PowerShell. To exit PowerShell, type exit and press Enter. This closes the PowerShell character mode window or, if you started Cmd.exe before starting PowerShell, returns you to Cmd.exe. You
can exit Cmd.exe in the same way.

Whether PowerShell or Cmd.exe is running, you can also simply click the X button in the upper-right corner of the window to close the shell. There’s no need to type exit. You can, however, put the exit command to good use within a script to close any window your script may have opened.

No Comments »

No comments yet.

Leave a comment)


Trackbacks vers ce post

Technology Blog is proudly powered by wordpress 2.6.3
theme © neuro 2003-2005 | SEO By Court's Internet Marketing School. Get Complicated