I’m very proud to show my PS script for SCVMM R2: VMDetails.ps1
Posted in Virtual Machine Manager, Windows Powershell | No Comment | 2,611 views | 03/11/2009 13:42
You don’t need any storage server to use Hyper-V. We have Dell Blade servers and also Core i7 OEM servers. So if you have OEM servers, you have to choose VM locations carefully. Because your SATA disks will effect your virtual machines performance directly. So you have to check all SATA disks and find the best disk for the best performance. For that reason, i made this script. With VMDetails.ps1, you will always find the best SATA disk to deploy your Virtual Machine.
Also with VMDetails.PS1, you don’t need to know “Virtual Network Name” of your Hyper-V Host. If you just type “Auto”, it looks for Virtual Networks and choose the best Virtual Network Name. Also you can exclude any Virtual Network like “Backup Network”.
How about Best Hyper-V Host? Just type “Auto” for Hyper-V host name and you will get the Best Hyper-V host to deploy your virtual machines. This script looks all your hyper-v hosts and choose the best one for the best performance.
You can download from here: VMDetails.ps1
$Template: Virtual Machine Template for Deploy
$HardwareProfile: Hardware Profile for Template
$VMHost: One of your Hyper-V Servers’ Name in VMHosts (like hyperv02 or Auto)
$HDDPart: Hard Disk Partition (like C:, D:, E: or Auto)
How can you use results?
Also I updated the script. Now If you use Windows Server 2008 R2, the “Reserved System Partition” is auto excluded.
Tags: hyper-v best disk, hyper-v powershell best disk, powershell vm details, scvmm best disk, scvmm powershell vmdetails, sysprep script scvmm, vmdetails.ps1
Leave a Reply