none
How can I enable guest services during vm deployment using scvmm 2012 R2 powershell?

    Question

  • Hi All,
    Is there any way to enable guest services under Integration Services during VM deployment using powershell from scvmm 2012R2 ?

    Thanks in advance,
    Mohak

    Friday, June 10, 2016 11:05 AM

Answers

  • Hi Sir,

    It seems that , you may need to remotely change this setting from VMM server .

    Please try to use "invoke-command"/"enter-pssession" to connect to hyper-v server .

     

    Best Regards,

    Elton


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com .

    Monday, June 13, 2016 2:39 AM
    Moderator

All replies

  • You would make it part of your VM template.

    That is where settings like this are exposed in SCVMM, the hardware profile.


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

    Friday, June 10, 2016 2:29 PM
    Moderator
  • Hi Sir,

    It seems that , you may need to remotely change this setting from VMM server .

    Please try to use "invoke-command"/"enter-pssession" to connect to hyper-v server .

     

    Best Regards,

    Elton


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com .

    Monday, June 13, 2016 2:39 AM
    Moderator
  • Hi dear,

    I do not found command for this in SCVMM, but you can try this commands step in the powershell!

    1 - execute pshell with a administrator

    2 - in the host hyper you can list all vms where guest service is disable: 

    Get-VMIntegrationService -VMName '*' | ? { $_.Name -like 'Guest Service Interface'} | ? { $_.Enabled -like 'false'} |select vmname

    3 - You can verify in the result list the vms where guest services is disable, check this list if you should enable all.

    4 - execute this next command to enable where guest services in the all vms where is disable:

    Enable-VMIntegrationService -VMName '*' -Name "Guest Service Interface" | ? { $_.Name -like 'Guest Service Interface'} | ? { $_.Enabled -like 'false'}

    Good luck! ;)


    Tuesday, July 10, 2018 6:18 PM