sconfig.cmd
2010-08 UPDATE FROM TUTORIAL ON MANAGING HYPER-V = DON'T USE IT! Very complicated, poor interface, poor compatibility/flexibility.
Microsoft hyper-v server 2008 "stand-alone hypervisor-based server virtualization product"
The hyper-v server 2008 r2 is free for donload but of course it's hard to find:
http://www.microsoft.com/hyper-v-server/en/us/how-to-get.aspx
Burn the .ISO and boot from the install DVD with the network cable disconnected
From BIOS enable the "Virtualization Technology" and "Execute Disable" (set to ON)
It's pretty easy (a default user and computer name is about it ... ) Shift F10 to see the command prompt (not much to do...)
You can logon to the machine and see the old school DOS like menu (white on blue)...
Welcome to Windows 2008 (looks like the 90's)
Use the number keys and enter to make selections on the menu
Connecting a network cable to your test LAN should allow you to configure your auto-detected ethernet adapter (sorry, I don't know what to do if it doesn't detect it)
8) Network Settings
1) and #2) then modify any computer name / workgroup / domain settings
I've enabled Remote Desktop so that I don't have to sit in front of the machine (or sit in the server room) and voila - a windows Domain capable server has remote desktop ... which is the same Number menu system from DOS...
(Don't get me wrong, I prefer this as it is simple and secure! And familiar!)
15) Exit to Command Line (and do stuff) ...
DOS IN WINDOWS SERVER 2008
cd c:\ ver wmic OS get OperatingSystemSKU wmic OS get OSArchitecture dir tasklist systeminfo ipconfig /all net use net user //set the users & passwords netdom /? //names & domains netsh //fancy ip configuration CONTROL + C //press both keys and cancel the current job/program shutdown /r /t 0 //reboot the server
Of course, all of this doesn't actually let you do anything... to use the Virtual Server capabilities we must move on to PowerShell
To return to the menu use sconfig.cmd
dir c:\windows\system32*.cmd
POWERSHELL IN WINDOWS SERVER 2008
You must install PowerShell from sconfig.cmd
4) Remote Management -> #2) Enable Windows PowerShell
Next you need to install the PowerShell Library (scripts calling WMI Interfaces) to actually use Hyper-V from the command line!
http://pshyperv.codeplex.com/ http://blogs.technet.com/richard_macdonald/archive/2008/08/11/3103559.aspx
powershell //starts the powershell environment
Get-VMsummary New-VM Get-VMmemory
Get-VMsnapshot New-VMsnapsho
Start-VM, Stop-VM, Suspend-VM, and Shutdown-VM
OR FOR PEOPLE WHO ARE GUI ADDICTED (and are using Windows 7 or Windows Vista)
* The Hyper-V Manager Microsoft Management Console (MMC) snap-in provides management
access to servers that are running Hyper-V.
NOTE: THE ABOVE DOES NOT RUN ON WINDOWS XP
* The Virtual Machine Connection tool establishes an interactive session on a virtual
machine host.
For win xp (but it costs) http://www.utharam.com/download.html