WELCOME

2010年1月22日 星期五

PowerShell的R2上安裝服務器核心

It's here!就在這裡! PowerShell for Server Core. PowerShell中的服務器核心。 This is just a quick lesson in how to install it.這僅僅是一個快速汲取教訓,如何安裝它。 So, how do you get it?那麼,你如何得到它?



Once you get Windows Server 2008 Core R2 installed, Type OCLIST .一旦你的Windows Server 2008核心R2的安裝類型OCLIST。 We need to make sure that the following is installed:我們必須確保以下安裝:
NetFx2-ServerCore (There may be additional characters after this) •NetFx2 - ServerCore(可能有其他字符之後)
MicrosoftWindowsPowerShell •MicrosoftWindowsPowerShell

If you are missing any of these two, install them with the instructions below.如果你缺少其中任何兩個,安裝它們與下面的說明。 Don't forget, these are case sensitive.不要忘記,這些都是大小寫敏感的。

For NetFx2-ServerCore對於NetFx2 - ServerCore
OCSetup NetFX2-ServerCore OCSetup NetFX2 - ServerCore

For MicrosoftWindowsPowerShell對於MicrosoftWindowsPowerShell
OCSetup MicrosoftWindowsPowerShell OCSetup MicrosoftWindowsPowerShell

OK, now that the software is installed, navigate to c:\Windows\System32\WIndowsPowerShell\V1.0 .好了,現在該軟件安裝,瀏覽到c:\窗口\ System32 \ WIndowsPowerShell \ 1.0。 Once there, type PowerShell you will notice that the prompt changes to PS .一旦輸入PowerShell中你會發現提示更改為私人秘書Go ahead and type Get-Command and press Enter If this worked, PowerShell is installed.請繼續和類型同享命令 ,然後 Enter如果此工作,PowerShell安裝。 It is not going to be the pretty blue window, but inside the command prompt.這不會是漂亮的藍色窗口,但裡面的命令提示符。 Go ahead and type Write-Host –fore blue “Hello World” and press Enter .請繼續和類型寫主機脫穎而出藍色的“Hello World”並按下回車鍵You will see the text change color.您將看到文本改變顏色。 The color formatting will allow you to make your scripts in Server Core look pretty.顏色格式將允許您使您的腳本在服務器核心好看。 Typing Exit will take you back to the command prompt. 鍵入 exit將帶你回到命令提示符。

沒有留言:

張貼留言