Rabu, 19 Januari 2011

Script to attach a USB device to a virtual machine [VPC]

A couple of people have asked me how to automate attaching a USB device to a Windows Virtual PC virtual machine, so here is a PowerShell script to do just that:# Connect to Virtual PC$vpc = new-object -com VirtualPC.Application # Get VM name$vmName = Read-host "Specify the name of the virtual machine that you want to use" # List available USB deviceswrite-host "The following USB devices are

Tidak ada komentar:

Posting Komentar