Make kvm.ps1 work on Powershell 3