Bulk import virtual machine in hyper-v, import virtual machine all at one step Posted on December 22, 2011 by dpejic Get-ChildItem e:\virtuals | Where-Object { $_.Attributes -band [System.IO.FileAttributes]::Directory } | ForEach-Object {Import-VM -path $_.FullName -ReuseIDs -Wait} You must have module for hyper-v for powershell… dowload it from this location http://pshyperv.codeplex.com/releases