#navi(../)

*追記(PowerShell4.0,5.0) [#ka15a7db]
&color(red){Windows7にPowerShell''4.0'', PowerShell ''5.0''をインストールする記事を公開しました。&br;以下のリンクの記事を参照ください。};
-[[Windows7にPowerShell5.0をインストールしてみた>PowerShell/Windows7にPowerShell5.0をインストールしてみた]]
-[[Windows7にPowerShell4.0をインストールする手順>PowerShell/Windows7にPowerShell4.0をインストールする手順]]

* Windows7にPowerShell3.0をインストールする手順 [#t1be77e4]
Windows7 SP1にインストールされていたPowerShellのバージョン確認を行ったところ、~
PowerShell2.0だったのでこの資料作成時、最新であるPowerShell3.0をWindows7 SP1にインストールしてみました。~
本資料はWindows7 SP1にPowerShell3.0をインストールしたときの手順になります。

バージョンの確認方法は以下の記事を参考にしてみてください。~
「[[PowerShellのバージョンを確認する方法・$PSVersionTable>PowerShell/PowerShellのバージョンを確認する方法・$PSVersionTable]]」

#contents
#htmlinsertpcsp(win-top.html,win-sp.html)

* 関連記事 [#q73c8baa]
-[[PowerShellのバージョンを確認する方法・$PSVersionTable>PowerShell/PowerShellのバージョンを確認する方法・$PSVersionTable]]
-[[Windows7にPowerShell4.0をインストールする手順>PowerShell/Windows7にPowerShell4.0をインストールする手順]]
-[[Windows7にPowerShell5.0をインストールしてみた>PowerShell/Windows7にPowerShell5.0をインストールしてみた]]


* PowerShell3.0のインストールに必要なソフトウェアや条件 [#aa8baaf2]
以下に必要ソフトウェアや条件を記します。

+PowerShell3.0を動作させるには、.NET Frameworkのバージョンが4以上である必要があります。
+Windows7 SP1であること。

* PowerShell3.0をWindows7 SP1に導入 [#p96391bd]
以下の手順でPowerShell3.0をWindows7 SP1に導入しました。

** .NET Framework 4の入手 [#b53691e7]
以下のURLより.NET Framework 4をダウンロードすることができます。~
入手してインストールします。(どちらも同じ画面に遷移すると思います。)

http://www.microsoft.com/ja-jp/download/details.aspx?id=17851~
http://www.microsoft.com/ja-jp/net/netfx4/download.aspx

当方がダウンロードしたファイルは''dotNetFx40_Full_setup.exe''でした。~
.NET Framework 4のclinent profileでは後述のWMF3.0のインストールはできませんでした。~
''dotNetFx40_Full_setup.exe''をダウンロード、インストールすることによりWMF3.0がインストール可能になります。

-.NET Framework 4 (dotNetFx40_Full_setup.exe)インストール中の画面
#ref(01.gif)

** Windows Management Framework 3.0 の入手 (WMF3.0) [#i28837c0]
以下のURLよりWMF3.0をダウンロードすることができます。~
http://www.microsoft.com/en-us/download/details.aspx?id=34595

ページには''Install Instructions''の項目がありました。(抜粋)~
 1. Download the correct package for your operating system and architecture. 
  ・Windows 7 Service Pack 1
 
     64-bit versions: Windows6.1-KB2506143-x64.msu
     32-bit versions: Windows6.1-KB2506143-x86.msu

当方のWindows7 SP1は64bit版なのでWindows6.1-KB2506143-x64.msuをダウンロードしインストールしました。~
インストール後、再起動を促すメッセージが表示されたので再起動します。

-Windows6.1-KB2506143-x64.msuインストール中の画面
#ref(02.gif)

* PowerShellを起動しWindows7にPowerShell3.0がインストールされているか確認 [#t00d9c97]
PowerShellを起動しバージョンを確認します。~
3.0が表示されているのでWindows7にPowerShell3.0がインストールされたのが確認できます。

 Windows PowerShell
 Copyright (C) 2012 Microsoft Corporation. All rights reserved.
 
 PS C:\Users\sakura> $PSVersionTable
 
 Name                           Value
 ----                           -----
 WSManStackVersion              3.0
 PSCompatibleVersions           {1.0, 2.0, 3.0}
 SerializationVersion           1.1.0.1
 BuildVersion                   6.2.9200.16398
 PSVersion                      3.0
 CLRVersion                     4.0.30319.1008
 PSRemotingProtocolVersion      2.2
 
 
 PS C:\Users\sakura> $HOST.Version
 
 Major  Minor  Build  Revision
 -----  -----  -----  --------
 3      0      -1     -1
 
 
 PS C:\Users\sakura>

以上、Windows7 SP1にPowerShell3.0をインストールする手順でした。

#htmlinsertpcsp(win-btm.html,win-sp.html)

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS