PS C:\users\user\PCF> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose VERBOSE: Target Image Version 10.0.19042.685
Path : Online : True RestartNeeded : False
PS C:\users\user\PCF> Enable-WindowsOptionalFeature -Online -FeatureName Containers -All -Verbose VERBOSE: Target Image Version 10.0.19042.685
Path : Online : True RestartNeeded : False
PS C:\users\user\PCF> net stop vmms The Hyper-V Virtual Machine Management service is stopping. The Hyper-V Virtual Machine Management service was stopped successfully.
PS C:\users\user\PCF> net start vmms The Hyper-V Virtual Machine Management service is starting. The Hyper-V Virtual Machine Management service was started successfully.
PS C:\users\user\PCF> cf version cf.exe version 6.53.0+8e2b70a4a.2020-10-01
PS C:\users\user\PCF> cf dev start -f pcfdev-v1.3.1-windows.tgz Downloading Resources... Progress: |====================>| 100.0% Setting State... WARNING: PCF Dev requires 8192 MB of RAM to run. This machine may not have enough free RAM. Creating the VM... Starting VPNKit... Starting the VM... FAILED cf dev start: starting the vm: start-vm: failed to execute: powershell.exe -> Command "Hyper-V\Start-VM -Name cfdev": exit status 1: Hyper-V\Start-VM : 'cfdev' failed to start. Failed to start the virtual machine 'cfdev' because one of the Hyper-V components is not running. 'cfdev' failed to start. (Virtual machine ID FB8B9DC4-16C6-4416-96BB-0C605EB1A168) The Virtual Machine Management Service failed to start the virtual machine 'cfdev' because one of the Hyper-V components is not running (Virtual machine ID FB8B9DC4-16C6-4416-96BB-0C605EB1A168). At line:1 char:1
Hyper-V\Start-VM -Name cfdev
+ CategoryInfo : NotSpecified: ([Start-VM], > VirtualizationException
+ FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.StartVM