PowerShellでHappyBirthday!

by ちあき 30. 10月 2009 14:14

▼ HappyBirthday.ps1
$str1 = @"



   ∧_∧ 
   (・ω・) 
   ノ/  /ゞ ゴソゴソ 
  ノ ̄ゝ

"@

$str2 = @"

         .o゜*。o
        /⌒ヽ*゜*
   ∧_∧  /ヽ   )。*o  ッパ
   (・ω・)丿゛ ̄ ̄' ゜
   ノ/  /   Happy Birthday!!
  ノ ̄ゝ

"@

Clear-Host
Write-Host $str1
Start-Sleep 2
Clear-Host
Write-Host $str2

▼ Bing検索結果
powershell clear-host - Bing ←Clear-Host

最新のブログ

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

PowerShellでフォルダを開く!

by ちあき 29. 10月 2009 09:59

▼ 案その1
Invoke-Item "C:\Users\chiaki"
▼ 案その2
rundll32.exe url.dll, FileProtocolHandler "C:\Users\chiaki"

▼ Bing検索結果
powershell invoke-item - Bing ←案その1
rundll32.exe url.dll - Bing ←案その2

現在のレート 5.0 (1人)

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

PowerShell 2.0正式版をWindows Vistaにインストールする

by HIRO 28. 10月 2009 23:52

PowerShell 2.0 を Windows Vista(X86) にインストールしてみました。

(XPにインストールする方法についてはこちらを参照ください)

スクリーンショット付きで以下の順に解説します。


●以前のバージョンのアンインストール

はじめてPowerShellをインストールする場合には、アンインストールは必要ありませんので PowerShell 2.0 正式版のダウンロード へ進んでください。

Windows PowerShell V1.0 をアンインストールする方法については

[Tips]Windows VistaからPowerShell V1をアンインストールするには?

を参照してください。

 

PowerShell 2.0 RCをアンインストールするには、最初に[コントロールパネル]-[プログラムと機能]を開きます。

以前のバージョンのPowerShellをリストに表示させるには[インストールされた更新プログラムを表示]を選択する必要があります(図1)。

image
図1

 

次に一覧から「Windows Management Framework Core」を選択してアンインストールします。

image 
図2 Windows PowerShell 2.0 RC版のアンインストール


●PowerShell 2.0 正式版のダウンロード

Vista用のWindows PowerShell 2.0 は下記からダウンロードします。

・Vista(X86)
http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=f2fa1227-9a34-4e29-aa03-62f5c00e16f2

・Vista(X64)
http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=0f73efa2-f8d6-45f3-a8f8-5cdc205b119a

そのほかのOS用のPowershell 2.0をダウンロードするには Windows XP,Vista, 2003 Server, 2008 Server用PowerShell 2.0正式リリース を参照ください。


●PowerShell 2.0 のインストール

1.ダウンロードしてきた WindowsXP-KB968930-x86-JPN.exe をダブルクリックして実行します。

image

2.[同意します]をクリック

image

3.インストールが成功するようにお祈りします

image

4.[完了]をクリックし、拍手します

image

 

インストールが完了すると[スタート]-[アクセサリ]の下に「Windows PowerShell」グループができます。

その下に、Windows PowerShellとWindows PowerShell ISEが配置されます。

image

 

PowerShell ISEのヘルプはXPと違って日本語でした!!

現在のレート 5.0 (2人)

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

PowerShell 2.0正式版をWindows XPにインストールする

by HIRO 28. 10月 2009 17:48

PowerShell 2.0 を Windows XP Professional SP3 にインストールしてみました。

スクリーンショット付きで以下の順に解説します。


●以前のバージョンのアンインストール

 はじめてPowerShellをインストールする場合には、アンインストールは必要ありませんので PowerShell 2.0 正式版のダウンロード へ進んでください。

 PowerShell 1.0を使用している方は、次の手順でアンインストールします。

まずは、[コントロールパネル]-[プログラムの追加と削除]をクリックします。

以前のバージョンのPowerShellをリストに表示させるには[更新プログラムの表示]にチェックを付ける必要があります。

「Windows PowerShell'TM) 1.0」を選択して[削除]ボタンをクリックします(図1)。

image
図1 Windows PowerShellのアンインストール

 

 PowerShell2.0のRC版が入っている場合には「Windows 管理フレームワーク コア」を選択してアンインストールします(図2)。

image 
図2 Windows PowerShell 2.0 RC版のアンインストール


●PowerShell 2.0 正式版のダウンロード

XP用のWindows PowerShell 2.0 は下記からダウンロードします。

http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=60cb5b6c-6532-45e0-ab0f-a94ae9ababf5

そのほかのOS用のPowershell 2.0をダウンロードするには Windows XP,Vista, 2003 Server, 2008 Server用PowerShell 2.0正式リリース を参照ください。


●PowerShell 2.0 のインストール

1.ダウンロードしてきた WindowsXP-KB968930-x86-JPN.exe をダブルクリックして実行します。

image

2.[次へ]をクリック

image

3.[同意します]にチェックを付け[次へ]をクリック

image

4.インストールが成功するようにお祈りします

image

5.[完了]をクリックし、拍手します

image

 

インストールが完了すると[スタート]-[アクセサリ]の下に「Windows PowerShell」グループができます。

その下に、Windows PowerShellとWindows PowerShell ISEが配置されます。

image

 

PowerShell ISEのヘルプは相変わらず英語のままでした。

早く日本語が提供されることを願っています。

最新のブログ

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

PowerShell 2.0

Windows XP,Vista, 2003 Server, 2008 Server用PowerShell 2.0正式リリース

by HIRO 28. 10月 2009 16:55

Windows XP,Vista, 2003 Server, 2008 Server用 の PowerShell 2.0 が正式リリースされました。

http://support.microsoft.com/kb/968929/ja-jp

 

PowerShell 2.0 のインストーラーは「更新プログラム」扱いで KB968930 として提供されています。

このため PowerShell 2.0で検索しても、なかなかインストーラが見つかりません。

下記にダウンロード先リンクを示します。お使いのOSに合わせてダウンロードしてください。

Windows XP 用更新プログラム http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=60cb5b6c-6532-45e0-ab0f-a94ae9ababf5
Windows Vista 用更新プログラム http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=f2fa1227-9a34-4e29-aa03-62f5c00e16f2
Windows Vista for x64-based Systems 用の更新プログラム http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=0f73efa2-f8d6-45f3-a8f8-5cdc205b119a
Windows Server 2003 用更新プログラム http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=f002462b-c8f2-417a-92a3-287f5f81407e
Windows Server 2003 x64 Edition 用更新プログラム http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=909bbcf1-bd78-4e03-8c83-69434717e551
Windows Server 2008 用更新プログラム http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=863e7d01-fb1b-4d3e-b07d-766a0a2def0b
Windows Server 2008 x64 Edition 用更新プログラム http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=d37e25cf-db05-4b23-a852-cdf865d81b82

 

インストーラには、Windows PowerShell 2.0 および Windows Remote Management (WinRM) 2.0 が含まれています。

 

追記

むたぐちさん のところ → PowerShell 2.0リリース

MS田辺さん のところ → XP, Vista, Windows Server 2003, 2008 向けの Windows Powershell 2.0 が公開されました

現在のレート 5.0 (1人)

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

PowerShell 2.0 | お知らせ

Calendar

<<  3月 2010  >>
月曜火曜水曜木曜金曜土曜日曜
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010 PowerShell from Japan!!