How to create a shortcut for a HyperV VM
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=hiYMPoyTi1o
Run and connect to a Hyper V virtual machine without Hyper V manager from a batch file or from a shortcut using a simple powershell script • Subscribe to my channel:✅ https://www.youtube.com/knowledgeshar... • Commands: • Get-VM to get the names of the VMs • PS script: • Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force • start-vm -name Your VM Name • vmconnect.exe $Env:computername Your VM Name • CMD file: • powershell.exe powershell -Command Start-Process PowerShell -Verb RunAs %homedrive%%homepath%\\Desktop\\your-ps-script.ps1 • Shortcut target: • powershell.exe %homedrive%%homepath%\\Desktop\\your-ps-script.ps1 • Shortcut Start in: • %homedrive%%homepath%\\Desktop • Chapters: • 00:00 Intro • 00:21 Identify the name of the VM • 01:27 Write the Script • 04:28 Create a Shortcut • 07:08 Create a Batch File • Follow me on: • My websites: • https://knowledgesharingtech.com/ • https://tripleewebdesigns.com • Facebook: / knowledgesharingtech • Twitter: / knowledgeshari6 • Instagram: / knowledge_sharing_tech
#############################
