Ask the Community
Groups
Deploy UEB Through Powershell on Hyper-V Hypervisor or Hyper-V on Server Core - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Deploy UEB Through Powershell on Hyper-V Hypervisor or Hyper-V on Server Core</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <h3 data-id="purpose">Purpose</h3> <p>How to deploy a Hyper-V UEB on server core without Hyper-V Management interface. Hyper-V Management Tools will need to be installed on a computer but this outlines how to create the virtual machine where Hyper-V Management tools cannot connect to the Hyper-V server.</p> <h3 data-id="description">Description</h3> <p>This document provides information on how to deploy Hyper-V UEB on server core or Hyper-V Hypervisor. Usually this will happen if Hyper-V server and the computer with Hyper-V Management Tools are not in the same domain or if one is attached to a domain and the other is not.</p> <h3 data-id="cause">Cause</h3> <p>Hyper-V Management tools cannon connect to the stand alone Hyper-V server.</p> <h3 data-id="resolution">Resolution</h3> <ol><li>Download the Hyper-V UEB and extract the VHD.</li> <li>Copy the UEB VHD to Hyper-V server. Example VHD Location: C:\HyperV\VHDs</li> <li>Start Powershell from command line by issuing Powershell.</li> <li>Type the following:</li> </ol><ul><li><i>New-VM –Name “Unitrends Enterprise Backup” –Path “FULL_PATH_TO_STORAGE_LOCATION” –MemoryStartupBytes 4GB -VHDPath “FULL_PATH_TO_VHD_LOCATION”</i></li> <li> <b><i>Example: </i></b><i>New-VM –Name “Unitrends Enterprise Backup” –Path “C:\HyperV\VHDs” –MemoryStartupBytes 4GB –VHDPath “C:\HyperV\VHDs”</i> </li> </ul><ol><li>Now the number of process needs to be set. Issue the following command:</li></ol><ul><li><i>SET-VMProcessor –VMName “Unitrends Enterprise Backup” –Count 2</i></li></ul><ol><li>The virtual switch needs to be assigned to the UEB.</li></ol><ul><li>First determine the virtual switches on the Hyper-V server by issuing the following command: <ul><li><i>GET-VMSwitch</i></li> <li>After determining the appropriate switch set the virtual switch to the UEB by issuing the following command: <ul><li><i>GET-VMSwitch –VMName “Unitrends Enterprise Backup” | GET-VMNetworkAdapter | Connect-VMNetworkAdapter –Switchname “NAME_OF_VSWITCH”</i></li> <li> <b><i>Example: </i></b><i>GET-VMSwitch –VMName “Unitrends Enterprise Backup” | GET-VMNetworkAdapter | Connect-VMNetworkAdapter –Switchname “Production”</i> </li> </ul></li> </ul></li></ul><ol><li>While still in Powershell you can issue <i>GET-VM. </i>This will show a list of virtual machines that are on the appliance. Unitrends Enterprise Backup will show up in the powered off state.</li> <li>Start the VM – <i>Start-VM “Unitrends Enterprise Backup”</i> </li> <li>On a computer that has Hyper-V Management tools installed navigate to <b>C:\Program Files\Hyper-V\</b> </li> </ol><ul><li>Issue the command: <i>vmconnect.exe HYPER_V_SERVER “VIRTUAL_MACHINE_NAME”</i> </li> <li> <b><i>Example: </i></b><i>vmconnect.exe HVHOST “Unitrends Enterprise Backup”</i> </li> </ul><h3 data-id="third-party-sources">Third-Party Sources</h3> </article> </main>