2014年9月8日 星期一

2014年3月23日 星期日

RubyConf Taiwan 2014

http://rubyconf.tw
http://www.inside.com.tw/2014/03/17/rubyconf-2014

command line open powershell

start powershell

ref:
http://stackoverflow.com/questions/8670001/how-to-launch-powershell-not-a-script-from-command-line

Install Windows Updates on Windows Server 2012 Server Core

sconfig

ref:
http://blog.zwiegnet.com/windows-server/install-windows-updates-on-server-2012-core/

Disable firewall on Windows Server 2012 Server Core

C:\Users\Administrator>netsh advfirewall set allprofiles state off
Ok.

Enable Remote Desktop on Windows Server 2012 Server Core

C:\Users\Administrator>Cscript %windir%\system32\SCRegEdit.wsf /ar 0
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

OR
scconfig -> 7

Registry has been updated.

ref:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/8ca7d997-aeff-4253-beab-4ac0cdcc30c6/how-do-you-turn-on-rdp-in-server-2012-core?forum=winserver8setup

Setup Hyper-V on Windows Server 2012 Server Core

http://technet.microsoft.com/en-us/library/ee441260(v=ws.10).aspx

Dism /online /enable-feature /featurename:Microsoft-Hyper-V

Ref
http://social.technet.microsoft.com/Forums/windowsserver/en-US/17537d33-f0c7-402d-b1e0-e3823aadfc51/server-core-2012-r2-ocsetup-issue?forum=winserversetup
ocsetup  is already deprecated.

ErrMsg:
Windows cannot find 'ocsetup'. Makesure you typed the name correctly, and then try again.

ENV:
Windows Server 2012 R2 Standard Server Core