Tech Talk A software developer on all things tech, and then some


How to Install and Run PowerShell

The install PowerShell on a version of Windows before Windows 7 (Windows Server 2k3, 2k8, Vista, or XP), visit the Windows Management Framework download page. This download includes Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0. For those interested, you can also download just WinRM and PowerShell at that link as well.

Note : If you are using Windows 7, PowerShell is already installed.

Running and Configuring PowerShell

PowerShell out of the box does not allow scripts to be ran. You will need to run PowerShell and set the Execution Policy.

  • Start PowerShell
  • Type Set-ExecutionPolicy (Do not hit enter yet)
  • Enter one of the following after the Set-ExecutionPolicy
    • Restricted - No scripts can be run. Windows PowerShell can be used only in interactive mode.
    • AllSigned - Only scripts signed by a trusted publisher can be run.
    • RemoteSigned - Downloaded scripts must be signed by a trusted publisher before they can be run.
    • Unrestricted - No restrictions; all Windows PowerShell scripts can be run.

For Example, on my development machine in which I wanted full control, I typed

Set-ExecutionPolicy Unrestricted

This should get you up and going. There will be a part 2 soon with simple scripts to get you started scripting. Stay tuned and happy scripting!


Windows 8 Consumer Preview

Metro Start Menu

Some of you might have heard, or even downloaded, the Microsoft Windows 8 Developer Preview from last year. Now Microsoft has released another view of the new Windows 8, their 'Consumer Preview'. If you haven't seen anything with Windows 8, think of the Metro layout on the XBOX Dashboard or Windows Mobile Phone, but with far more capabilities. However, for you people who love the classic Windows layout without the metro feel to it, there will be ways to revert back to the Windows 7 layout with the start button. So, to download a version of Windows 8 Consumer Preview, you can visit which have both 32 bit and 64 bit versions in various languages. Feel free to read more and see some general improvements and differences I noticed. Also, this is more of an observation, not a review. Windows 8 is still under development so these features or screen shots may not depict the final product.

%d bloggers like this: