Forum Discussion
Manas Saha
Aug 24, 2017Brass Contributor
Invoke-Command is not helping me anymore..
Team , I need a solution here , I am trying to connect my VM which is running in Hyper-V and I would like to deploy some of the scripts which will run automatically inside the VM and then it will...
Anders Rødland
Sep 20, 2017Copper Contributor
PowerShell Direct should help you do this. It allows you to run PowerShell from the host inside the VM guests. Windows 10 and/or Server 2016 is required.
https://blogs.technet.microsoft.com/virtualization/2015/05/14/powershell-direct-running-powershell-inside-a-virtual-machine-from-the-hyper-v-host/