Sunday, September 9, 2012

Hyper-V 2012 Notes

To enable PING on Hyper-V Server 2012:
netsh firewall set icmpsetting 8
To enable File & Printer Sharing through filewall:
netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes
To install .NET Framework 3.5 on Hyper-V Server 2012:
dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures
dism.exe /online /enable-feature /featurename:NetFX3
To get a list of features on Hyper-V Server 2012:
dism.exe /online /Get-Features
Utility to backup virtual machines running on Hyper-V Server:
Create a Scheduled task to run daily at 10pm:
schtasks.exe /Create /SC DAILY /ST 22:00 /TN BACKUP /TR c:\pathto.cmd

No comments:

Post a Comment