Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Instant Windows PowerShell

You're reading from   Instant Windows PowerShell Manage and automate your Windows Server Environment efficiently using PowerShell

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781849688741
Length 54 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Vinith Menon Vinith Menon
Author Profile Icon Vinith Menon
Vinith Menon
Arrow right icon
View More author details
Toc

Table of Contents (7) Chapters Close

Instant Windows PowerShell
Credits
About the Author
About the Reviewers
www.packtpub.com
packtlib.packtpub.com
1. Instant Windows PowerShell

Installation


In the following steps, you will learn how to install and configure Windows PowerShell 3.0 and get it set up on your system.

Note that Windows PowerShell 3.0 comes preinstalled in Windows 8 and Windows Server 2012.

Step 1 – what do I need?

Before you install PowerShell 3.0, you will need to check that you have all the required elements, as follows:

  • A computer or server with a Windows 7 SP1 / 2008 SP2 / 2008R2 SP1 operating system

  • Access to the Internet

  • To use the latest version of PowerShell ISE, you would need to download, install, and configure Microsoft .NET Framework 4.0 Full from http://go.microsoft.com/fwlink/?LinkID=212547

Additionally, the following requirements apply:

  • To install the latest version of Windows PowerShell ISE for Windows PowerShell 3.0 on workstations running Windows Server 2008 R2 with Service Pack 1, before installing Windows Management Framework 3.0 RC, use Server Manager to add the Windows PowerShell ISE feature to Windows PowerShell.

  • Install the latest Windows updates before installing WMF 3.0 RC.

Step 2 – downloading and installing Windows Management Framework

Download and install the package based on your operating system version and architecture type, as shown in the following list:

  • For Windows 7 Service Pack 1, download and install the following packages:

    • For 64-bit versions: Windows6.1-KB2506143-x64.msu

    • For 32-bit versions: Windows6.1-KB2506143-x86.msu

  • For Windows Server 2008 R2 SP1, download and install the following package:

    • For 64-bit versions: Windows6.1-KB2506143-x64.msu

  • For Windows Server 2008 Service Pack 2, download and install the following packages:

    • For 64-bit versions: Windows6.0-KB2506146-x64.msu

    • For 32-bit versions: Windows6.0-KB2506146-x86.msu

Now to get these packages, you need to head over to the Microsoft Download Center at http://www.microsoft.com/en-us/download/default.aspx in your web browser and search for Windows Management Framework 3.0-RC, as shown in the following screenshot:

Next, click on the downloading icon for Windows Management Framework 3.0 - RC and initiate downloading of the Windows Management Framework 3.0 release notes document:

Close all instances of PowerShell hosts. Also, uninstall any previous builds of WMF 3.0, if installed.

Download and install the package applicable to your operating system version.

Step 3 – verifying that you have PowerShell v3 installed

Open a PowerShell window and type in the following:

PS C:\Windows\system32> $PSVersionTable

You will see that PSVersion (PowerShell version) now shows 3.0:

And that's it

It's really that easy. You just need to install and configure Windows Management Framework 3.0 to get going with Windows PowerShell V3.

Note

It's still possible to get back to PowerShell V2 if needed.

The parameter to launch the PowerShell executable is PS C:\Windows\system32> powershell.exe -version 2.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image