Powershell CMD HV

https://msdn.microsoft.com/fr-fr/library/dn798297(v=ws.11).aspx

verifier IntergrationServicesVersion sur VM

Get-VM | ft Name, IntegrationServicesVersion
Get a list of running integration services:
Get-VMIntegrationService -VMName "DemoVM"
Enable-VMIntegrationService -VMName "DemoVM" -Name "Guest Service Interface"

ou

Disable-VMIntegrationService -VMName "DemoVM" -Name "Guest Service Interface"


https://docs.microsoft.com/fr-fr/windows-server/virtualization/hyper-v/manage/Manage-Hyper-V-integration-services#integration-service-maintenance

get a list of integration services, run on VM (guest)

Get-Service -Name vm*

The output should look similar to this:

PowerShell
  • Status   Name               DisplayName
    ------   ----               -----------
    Running  vmicguestinterface Hyper-V Guest Service Interface
    Running  vmicheartbeat      Hyper-V Heartbeat Service
    Running  vmickvpexchange    Hyper-V Data Exchange Service
    Running  vmicrdv            Hyper-V Remote Desktop Virtualizati...
    Running  vmicshutdown       Hyper-V Guest Shutdown Service
    Running  vmictimesync       Hyper-V Time Synchronization Service
    Stopped  vmicvmsession      Hyper-V VM Session Service
    Running  vmicvss            Hyper-V Volume Shadow Copy Requestor
    
  • Run either Start-Service or Stop-Service. For example, to turn off Windows PowerShell Direct, run:
  1. Stop-Service -Name vmicvmsession
    

Start and stop an integration service from a Linux guest

Linux integration services are generally provided through the Linux kernel. The Linux integration services driver is named hv_utils.

  1. To find out if hv_utils is loaded, use this command:
    BASH
  • lsmod | grep hv_utils
    
  • The output should look similar to this:
    BASH
  • Module                  Size   Used by
    hv_utils               20480   0
    hv_vmbus               61440   8 hv_balloon,hyperv_keyboard,hv_netvsc,hid_hyperv,hv_utils,hyperv_fb,hv_storvsc
    
  • To find out if the required daemons are running, use this command.
    BASH
ps -ef | grep hv