Create Hyper-V Virtual Machines with Windows PowerShell searching on hostname

Dear,
I’m a starter with PowerShell scripting an I’m looking for a script to create Hyper-V Virtual Machines with Windows PowerShell. The idea behind the script is that when I run the script its first searching for the hostname. I’m migrating 24 locations and each
location have a different hostname like xxx-SRV001. The script needs to use the first 3 signs from the hostname in this case “xxx” and create 2 VM's with below info:
Virtual Machine 1 2048MB
Virtual Machine 2 4096MB
Location D:\VM\
I can create VM's with Powershell into Hyper-V so only a script to first searching for the first 3 characters of the hostname is enough.
Example:
It's the intention that when the script runs it's looking for the hostname. As example we have hostname 000-SRV001
If the script see the first 3 characters of the hostname, in this case 000 he need to create 2 VMs with name xxx-SRV002 and xxx-SRV004
I think it must be something with 
$hostname = "Get-WmiObject -computername $Machine Win32_Computersystem"
But then when i'm asking for $hostname he must give me back the hostname and if the hostname is 1 of the 24 locations then he need to create 2 vm's in Hyper-V with above info.
Can you help me or do you have a script for this? 

Juste use :
$vram = 1GB*$vRam
You not need the "
Do you have any error with the creation of the VM?
# Variables
$VMName = Import-Csv "C:\HyperV\input.csv"
$VHD = 40GB
$VMLOC = "C:\HyperV"
$vSwitch = "External"
$ISO = "C:\ISO\WinServer2012R2.iso"
$LocationCode = $env:COMPUTERNAME.Split("-")[0]
# Create VM Folder
MD $VMLOC -ErrorAction SilentlyContinue
Foreach ($VM in $VMNames)
$Name = $VM.name
[int64]$vRam = $vm.vram
$vram = 1GB*$vRam
$VMName = $LocationCode+$Name
# Create Virtual Machine
New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VMLOC\$VMName\Virtual Harddisks\$VMName.vhdx" -NewVHDSizeBytes $VHD -SwitchName $vSwitch
# Configure Virtual Machines
Set-VMDvdDrive -VMName $VMName -Path $ISO
Start-VM $VMName
# Configure Virtual Machines
Set-VMDvdDrive -VMName $VMName -Path $ISO
Start-VM $VMName
Error message 
New-VM : '003' failed to modify device 'Memory'. (Virtual machine ID 8F5F32D7-F1A0-4A68-8B01-CA6661869A1E)
Invalid startup memory amount assigned for '003'. The minimum amount of memory you can assign to this virtual machine is '32' MB. (Virtual machine ID 8F5F32D7-F1A0-4A68-8B01-CA6661869A1E)
A parameter that is not valid was passed to the operation.
At line:20 char:5
+ New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VM ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VM], VirtualizationOperationFailedException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.NewVMCommand
Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
At line:23 char:5
+ Set-VMDvdDrive -VMName $VMName -Path $ISO
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
At line:24 char:5
+ Start-VM $VMName
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
At line:27 char:5
+ Set-VMDvdDrive -VMName $VMName -Path $ISO
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
At line:28 char:5
+ Start-VM $VMName
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
New-VM : '003' failed to modify device 'Memory'. (Virtual machine ID C0FC835E-36D4-462E-BD21-69A75A808E2F)
Invalid startup memory amount assigned for '003'. The minimum amount of memory you can assign to this virtual machine is '32' MB. (Virtual machine ID C0FC835E-36D4-462E-BD21-69A75A808E2F)
A parameter that is not valid was passed to the operation.
At line:20 char:5
+ New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VM ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VM], VirtualizationOperationFailedException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.NewVMCommand
Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
At line:23 char:5
+ Set-VMDvdDrive -VMName $VMName -Path $ISO
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
At line:24 char:5
+ Start-VM $VMName
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
At line:27 char:5
+ Set-VMDvdDrive -VMName $VMName -Path $ISO
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
At line:28 char:5
+ Start-VM $VMName
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand

Similar Messages

  • Can i install VS 2013 in my Virtual Machine with Windows 8.1 and work for Mobile Development,Mobile Emulator can work in my Virtual Machine ?

    I have a Virtual Machine with Windows 8.1 OS and 4gb RAM, 200gb Disk.
    I want to develop apps for Windows Mobile 8.1 with VS 2013 Update 4, Mobile Emulators can work in my Virtual Machine, bcz i am getting bellow error.
    Windows Phone Emulator is unable to verify that the virtual machine is running:
    Something happend while starting a virtual machine:'Emulator 8.1 WVGA 4 inch 512MB.APPUSER' failed to start.(Virtual machine ID xxxxxx-xxxxx-xxxx-xxxx-xxxxxxx)
    The Virtual Machine Management Service failed to start the virtual machine 'Emulator 8.1 WVGA 4inch 512MB.appuser' because one of the Hyper-V components is not running (Virtual machine ID xxxx-xxxxx-xxxx-xxxx-xxxx).

    No you cannot do that.  You need a physical machine that supports Hyper-V
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

  • Importing a Hyper-V virtual machine into windows 8 hyper-v fails with a strange error

    Here is the error what i am suffering from, it fails and i dont know what this error is all about
    Saved State Errors
    The following saved state errors were reported... the processor settings for virtual machine....
    can some one help

    Hi,
    Could you offer more information about your error, such the original error message or screenshot, If meeting the Event 3080, you can refer the following related article for
    the further troubleshooting:
    Hyper-V Could Not Initialize - Could Not Create or Access Saved State File
    http://blogs.technet.com/b/rmilne/archive/2014/01/15/hyper-v-could-not-initialize-could-not-create-or-access-saved-state-file.aspx
    Hope 
    this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Backing Up Hyper-V Virtual Machines with dynamic vhdx disks attached

    Hi folks.
    Can i  make an online backup
    for a virtual machine that has a hard drive
    attached  dynamic vhdx running on
    windows server 2012 r2?
    Regards

    I think we should try to duplicate this using diskshadow.exe to create a persistent snapshot and manually copy a VM.
    1) On the hyper-V host open an administrative command prompt.
    2) Run diskshadow.exe - and after it starts enter the following commands as written except for the drive letters used:
       Diskshadow> Set Verbose on
       Diskshadow> Set context Persistent
       Diskshadow> Add Volume X: ALIAS xvol    (Where
    X: is the drive letter of the volume containing the Hyper-V guests you want to make a snapshot for)
       Diskshadow> Begin backup
       Diskshadow> create                   
       Diskshadow>end backup
       DiskShadow> Expose %xvol% S:              (Where S: is a free drive letter)
    3) Now Go into explorer and copy out VM's from the S: Drive which is the live shadow copy and see if that duplicates your problem.
    When you are done, delete the shadow copy in diskshadow using the following command.
       DiskShadow>Delete shadows exposed S:  
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Script to Reboot hyper-v virtual machine with email notification

    Hello, I have been playing with this all day today but cannot seem to get it to do what I want. I want to restart 4-6 Virtual machines housed in hyper-v using a script. Then I want to send out an email letting myself know it was successful. Here is what
    I have been trying to work with but no matter what I have changed I cant seem to get it to work.
    Import-Module Hyper-v
    $VM = "server1, server2, server3, server4"
    Stop-VM -name $VM
    start-sleep -s 240
    $getVM = get-vm $vm
    if ($getvm.Enabledstate -eq "3"){
    $date = Get-date
    start-VM -name $vm
    start-sleep -s 60
    $getVm2 = Get-VM -VM $vm -server HYPERVHOST
    if ($getVM2.enabledstate -eq "2") {
    $messageParameters = @{
    Subject = "$VM reboot status for $((Get-Date).ToShortDateString())"
    Body = " The Server $vm has rebooted at - $date. The server is up and operational."
    From = "[email protected]"
    To = "[email protected]"
    SmtpServer = "SMTPSERVER" }
    send-mailmessage @messageparameters -bodyashtml
    if ($getVM2.enabledstate -ne "3") {
    $messageParameters2 = @{
    Subject = "$VM reboot status for $((Get-Date).ToShortDateString())"
    Body = " The Server $vm has rebooted at - $date. Please check the vm $vm as there may be an issue. It has not fully restarted"
    From = "[email protected]"
    To = "[email protected]"
    SmtpServer = "SMTPSERVER" }
    send-mailmessage @messageparameters2 -bodyashtml
     

    This line of code looks wrong:
    $VM = "server1, server2, server3, server4"
    That will assign a single string to the $VM variable. If you intend the $VM variable to contain a list of 4 items, write it this way:
    $VM = "server1","server2","server3","server4"
    -- Bill Stewart [Bill_Stewart]

  • Create Hyper-V virtual switch with VLAN tagging

    Hello All,
    I would like to create virtual network switch on a physical NIC of the Hyper-V host in Powershell.
    I use "New-VMSwitch" with "-AllowManagementOS $true" and the virtual switch will be ready. I would like to use "Enable virtual LAN identification for management operating system"
    and tag a VLAN to the virtual switch. Can you please help me with an example how to do it in Powershell?

    Start with this walk-through.
    http://www.vnotebook.ca/2013/11/configuring-management-vlan-in-hyper-v.html
    tags are bound to adapters.  A switch must have minimum of one adapter.
    ¯\_(ツ)_/¯

  • Windows 8 Hyper-V - Virtual Machine Management Service failed to start the virtual machine

    I have Hyper-v running on Dell Precision T3600 with Windows 8 OS.  I am trying to start a VM (called Windows8VM) to install Windows 8 in the hyper-v virtual machine, but I keep getting the following message:
    "Windows8VM" failed to start.
    Failed to start the virtual machine "Windows8VM" because one of the Hyper-V components is not running.
    "Windows8VM" failed to start.  (Virtual machine ID D670D3BB-9AE2-0453D-9191-EA6EFC242A9C)
    The Virtual Machine Management Services failed to start the virtual machine "Windows8VM" because one of the Hyper-V components is not running.
    I have turned the hyper-v feature on in the "Turn Windows feature on or off.  The BIOS has virtualization enable.  Help!!! driving me nuts for a week now.
    Nick :(

    Okay,  I turned off hyper-v, went to bios and enabled Intel TXT(LT-SX) Configuration.  Made sure that both Virtualization and VT for Direct I/0 are on.  Next, I turned on Hyper-V and I create a brand new Virtual Machine call Windows8 and had
    the DVD point to Windows8 ISO file on hard drive.  When I clicked on start, it stayed in the Starting status mode for about 5 minutes.  Then of course it failed.  I looked at the Hyper-V-VMMS log and here is what it output:
    Log Name: Microsoft-Windows-Hyper-V-VMMS/Admin
    1) Error: The virtualization infrastructure driver (VID) is not running.
    2) Info:  Found a certificate for server authentication. Remote access to virtual machines is now possible.
    3) Info:  Successfully started the Virtual Machine migration connection manager.
    4) Info:  Virtual Machine Management service is started successfully.
    5) Info:  The WMI provider 'VmmsWmiInstanceAndMethodProvider' has started.
    6) Info:  The WMI provider 'VmmsWmiEventProvider' has started.
    7) Info:  The WMI provider 'VmmsWmiInstanceAndMethodProvider' has started.
    8) Info:  The WMI provider 'VmmsWmiEventProvider' has started.
    9) Info:  The Integration Services Setup Disk image was successfully updated.
    10) Error: The virtual machine bus is not running.
    11) Error: 'Virtual Machine Bus' driver required by the Virtual Machine Management service is not installed or is disabled. Check your settings or try reinstalling the Hyper-V role.
    12) Error: 'Storage Virtualization Service Provider' driver required by the Virtual Machine Management service is not installed or is disabled. Check your settings or try reinstalling the Hyper-V role.
    13) Error:  The Virtual Machine Management Service failed to start the virtual machine 'Window8' because one of the Hyper-V components is not running (Virtual machine ID 2B393AF4-7B7E-4243-805B-23C09D20F4FB).
    14) Error:  'Window8' failed to start. (Virtual machine ID 2B393AF4-7B7E-4243-805B-23C09D20F4FB)
    Nick

  • Error Creating VM on 2011 iMac - The Hyper-V Virtual Machine Management service encountered an unexpected error: The remote procedure call failed. (0x800706BE).

    I am running Hyper-V in Windows 8.1 on a late 2011 27 inch iMac. Whenever I try to create a virtual machine I get the error below and Windows warns that it will restart in 1 minute. I tried a clean install of Windows, but my PC still crashes ever
    time I try to create a VM. I was able to successfully use Hyper-V in prior versions of Windows on this same PC. Any clue as to what is going on? A driver? Windows 8.1? Mac Hardware related?
    I see the following two entries in event viewer but have no other clue as to what is happening:
    Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
    Source:        Microsoft-Windows-Hyper-V-VMMS
    Date:          1/10/2014 10:48:46 AM
    Event ID:      16000
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      Charles-PC.CHARLESPOOL.local
    Description:
    The Hyper-V Virtual Machine Management service encountered an unexpected error: The remote procedure call failed. (0x800706BE).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
        <EventID>16000</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-01-10T15:48:46.770451300Z" />
        <EventRecordID>58</EventRecordID>
        <Correlation />
        <Execution ProcessID="2488" ThreadID="8704" />
        <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
        <Computer>Charles-PC.CHARLESPOOL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <UserData>
        <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
          <ErrorMessage>%%2147944126</ErrorMessage>
          <ErrorCode>0x800706BE</ErrorCode>
        </VmlEventLog>
      </UserData>
    </Event>
    Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
    Source:        Microsoft-Windows-Hyper-V-VMMS
    Date:          1/10/2014 10:48:46 AM
    Event ID:      16010
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      Charles-PC.CHARLESPOOL.local
    Description:
    The operation failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066f867-7ca1-4418-85fd-36e3f9c0600c}" />
        <EventID>16010</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-01-10T15:48:46.773497100Z" />
        <EventRecordID>59</EventRecordID>
        <Correlation />
        <Execution ProcessID="2488" ThreadID="8704" />
        <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
        <Computer>Charles-PC.CHARLESPOOL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <ProcessingErrorData>
        <ErrorCode>15005</ErrorCode>
        <DataItemName>Parameter0</DataItemName>
        <EventPayload>
        </EventPayload>
      </ProcessingErrorData>
    </Event>

    Hi CharlesPool,
    I am assuming that the win8.1 is in-place updated from win8 .
    Maybe you need to check the state of hypervisorlaunchtype .
    If it is off , please run command " bcdedit /set hypervisorlaunchtype auto "
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Cannot create guest virtual machine with Solaris 10 SPARC in Oracle VM 2.2

    Dear All,
    I try many times to create guest virtual machine with Solaris 10 SPARC but not get success.
    When I created it already and then I start the Power On button, it run normally but the Console button cannot click on (hide). After that the virtual machine running abit then it change status to Powered Off.
    Please kindly give advice for this.
    Thanks and regards,
    Heng

    I storgly doubt, VMware player is available for Solaris 10 SPARC version.
    Solaris 10 is not a comercial product, like ubuntu, windows, MAC etc... It's really for a server.
    That's the reason still I hate Solaris 11 as a desktop. You have very limited product/software.... This may change for Solaris 11, but U can't expect one for Solaris 10.

  • Install of SAP HANA Studio Dev Ed v1.00.80 fails with "Could not create the Java Virtual Machine"

    Hello,
    Scope: JVM error during initial install of SAP HANA Studio Developer Edition v1.00.80, Win86/32bit
    Source: installation files pulled from HANA Studio tab at https://hanadeveditionsapicl.hana.ondemand.com/hanadevedition/, which is a link from the main HANA site of http://scn.sap.com/community/developer-center/hana.  zip folder: "sap_hana_win32_studio_rev80"
    Targeted O/S: Windows 7, 32-bit, local Java is SE 7, update 67.   Java environment has been confirmed via checks provided at http://www.java.com/en/download/manual.jsp
    Actions taken:
    Attempted to update the installation's eclipse.ini file by reducing the -Xmx value; see details below.
    Read thru postings such as http://scn.sap.com/thread/3390626 and the threads it recommended.
    Checked OSS (ie Note 1859686 - HANA Studio does not start)
    Description of installation error:
    Shortly after executing "hdbinst", it fails with the error "Could not create the Java Virtual Machine".  I've verified that there is nearly 3G of memory free.  What I did notice, as shown in the attached files, is that Eclipse is part of this installation and it's pre-loaded with the "eclipse.ini".  I firmly believe the solution could be to reduce parameter "-Xmx1024m" to "-Xmx512m" but it's a catch-22 because even after updating eclipse.ini (in installation folder C:\Program Files\SAP\hdbstudio\tmp_p2director2014.08.13_13.36.44\director), the install program requires that the "hdbstudio" folder to be empty upon restarting it.
    Since the installation is basically a package with a lot of .jar files, there is no eclipse.ini file available in the source install folder; otherwise, updating it there would be the easiest solution if that option were available. The file is only available in the targeted deployment folder above.
    If you have encountered this same error and were able to resolve it, I would be grateful to know of your solution.  Thanks very much.
    FYI: the HANA Client installed with no issues.
    Jim Cleek
    FYI: the images below reflect the sequence of images produced during the installation.
    after clicking OK above, the screen below gets updated (see the "is not empty" msg).
    Below is the eclipse.ini file located in the deployed/target folder:
    Message was edited by: Jim Cleek
    FYI: Using information from the SAP HANA Database - Studio Installation and Update Guide, I tried to override the installation's use of its eclipse.ini file by passing my own modified version (with "-Xmx512m") of that file that was placed in a separate folder.  The cmd used via DOS window was "hdbsetup.exe -a studio --configfile=C:\Users\Admin\Downloads\eclipse.ini" and even though it successfully launched the SAP HANA Lifecycle Management gui, it failed on the first step with the same JVM create error as above because it appears to have used its own eclipse.ini file, which has "-Xmx1024m".

    Update: a message was opened with SAP but unfortunately they could not provide a resolution for this particular scenario.  They admitted that the eclipse.ini file cannot be updated since it is bundled as part of the installation package.  One point to make that I did not make before was that this was being attempted on an Oracle VirtualBox (4.3.10); the SAP HANA contact said he assumed that SAP has not tested this particular scenario, thus it could not be supported.
    Resolution: the end result was to abort trying to install SAP HANA Client and Studio on the Oracle VirtualBox but to install it locally on my own desktop, which runs on Windows 7 Enterprise 64-bit with 8G of memory.  The SAP HANA files below were downloaded, extracted and installed successfully in the order shown.
    FYI: the Studio installation detected that a 64-bit version of Java was not installed so I installed that and then adjusted the User environmental variable JAVA_HOME to point to that new path, leaving the System variable still pointing to the pre-existing 32-bit Java path.
    SAPCAR 7.20 -> Windows on x64 64bit:  SAPCAR_315-20010453.EXE
    IMDB_CLIENT100_80_0-10009664.SAR   Revision 80 for SAP HANA CLIENT 1.00
    Support Package SAP HANA CLIENT 1.00 Windows on x64 64bit
    IMC_STUDIO100_80_0-20007647.SAR   Revision 80 for SAP HANA STUDIO 1.00
    Support Package SAP HANA STUDIO 1.00 Windows on x64 64bit
    jre-7u67-windows-x64.exe - http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
    Jim Cleek
    HP Enterprise Services

  • Windows 10 Technical Preview - There is NO "Hyper-v Virtual Machine Management" service???

    hi all,
    There's no such Windows Topic as "WTP Virtualization", so I post this thread here, a somewhat "VIRTULIZATION" related.
    I installed WTP (not server) x64 enterprise 9879, and added "Hyper-v Management" feature (management only, without Hyper-v core) in Control Panel. Then I found that there was no "Hyper-v
    Virtual Machine Management" in Services panel, and there was no such file "c:\windows\system32\vmms.exe". Therefore I cannot connect to Windows Server 2012 R2 Hyper-v through WTP Hyper-v Manager.
    I confirm the reason is what I state above. Firewall rules are properly configured on both Hyper-v server and WTP. I also used hvxxxx.wsf to configre anondcom to be "allow". When
    I connect WS 2012 R2 through WTP, Hyper-v manager on WTP says "Please confirm VMMS server is running".
    Is it a bug, or lack of implementation, or restriction of preview edition?
    Any suggestion is appreciated! Thanks!

    Okay,  I turned off hyper-v, went to bios and enabled Intel TXT(LT-SX) Configuration.  Made sure that both Virtualization and VT for Direct I/0 are on.  Next, I turned on Hyper-V and I create a brand new Virtual Machine call Windows8 and had
    the DVD point to Windows8 ISO file on hard drive.  When I clicked on start, it stayed in the Starting status mode for about 5 minutes.  Then of course it failed.  I looked at the Hyper-V-VMMS log and here is what it output:
    Log Name: Microsoft-Windows-Hyper-V-VMMS/Admin
    1) Error: The virtualization infrastructure driver (VID) is not running.
    2) Info:  Found a certificate for server authentication. Remote access to virtual machines is now possible.
    3) Info:  Successfully started the Virtual Machine migration connection manager.
    4) Info:  Virtual Machine Management service is started successfully.
    5) Info:  The WMI provider 'VmmsWmiInstanceAndMethodProvider' has started.
    6) Info:  The WMI provider 'VmmsWmiEventProvider' has started.
    7) Info:  The WMI provider 'VmmsWmiInstanceAndMethodProvider' has started.
    8) Info:  The WMI provider 'VmmsWmiEventProvider' has started.
    9) Info:  The Integration Services Setup Disk image was successfully updated.
    10) Error: The virtual machine bus is not running.
    11) Error: 'Virtual Machine Bus' driver required by the Virtual Machine Management service is not installed or is disabled. Check your settings or try reinstalling the Hyper-V role.
    12) Error: 'Storage Virtualization Service Provider' driver required by the Virtual Machine Management service is not installed or is disabled. Check your settings or try reinstalling the Hyper-V role.
    13) Error:  The Virtual Machine Management Service failed to start the virtual machine 'Window8' because one of the Hyper-V components is not running (Virtual machine ID 2B393AF4-7B7E-4243-805B-23C09D20F4FB).
    14) Error:  'Window8' failed to start. (Virtual machine ID 2B393AF4-7B7E-4243-805B-23C09D20F4FB)
    Nick

  • I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need!  Anybody out there with a similar problem?  Help!

    I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need!  Anybody out there with a similar problem?  Help!

    Thanks - Of Course the first thing I checked and did.
    Disc Utility reads as follows:
    Capacity : 159.18 GB (159,182,127,104 Bytes)
      Format : Mac OS Extended (Journaled)  Available : 11.47 GB (11,472,896,000 Bytes)
      Owners Enabled : Yes  Used : 147.71 GB (147,709,231,104 Bytes)
      Number of Folders : 139,540  Number of Files : 511,832
    Activity Monitor(Disc Usage) shows something quite interesting.  Mac HD and Ramanan (Main User) - My hard drive is only 160GB!  Would the retired engineer gentleman please note as well.  Many thanks. Rams

  • Cant create replica and Hyper V virtual machine management service slow shutting down

    Hi,
    I cant create replica and Hyper V, I go through the process and all looks good it even starts to create the hard disk but it stops at 4096K and the wizard just keeps going.
    The management console is also slow or wont load virtual machines - stuck on loading virtual machines
    The Hyper V virtual machine management service slow shutting down over 30 minutes on re boot of Hyper V core 2012 R2
    Any ideas ?

    Hi Sir,
    I assume that you have a standalone hyper-v server 2012R2 and you are using hyper-v manager to manage the hyper-v host .
    Which system you are using to manage hyper-v host , win8 or win8.1 or other ?
    Have you created VMs on the HOST ?
    I would suggest  you to create vhd or someother operation on hyper-v host directly  to check the result .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Create Protection Group Hyper-V Virtual Machines Not Listed

    Hello,
    We are in the process of testing DPM 2012 R2 and we are trying to backup our Hyper-V virtual machines on both cluster hosts and stand-alone Hyper-V hosts.  We have deployed the DPM agent to all cluster hosts and the stand-alone hosts, but when we go
    to create a protection group, we do not see Hyper-V Virtual Machines listed under "HyperV".  We are expecting Virtual Machines to show up as shown in Step 7 of this guide: http://blogs.technet.com/b/kevinholman/archive/2013/11/07/dpm-2012-r2-quickstart-deployment-guide.aspx.
     We have DPM 2012 R2 UR4 installed and Hyper-V role is enabled on the DPM server.
    Is there something extra we need to do or something we are doing wrong?
    Thank you.

    Gleb,
    Thank you for your help.  For our cluster, we realized we weren't seeing any VM's under the Cluster Node because an agent was not installed on our of the Hyper-V hosts in the cluster.  As for the stand-alone Hyper-V host and the cluster node listing
    within the "Create New Protection Group" wizard, it looks like MOST of the VM's have the "Backup Using Child Partition Snapshot" option, but no longer show as "Online" or "Offline".  I believe this is due to the
    way the Hyper-V backups are done w/ DPM which was changed either in R2 or one of the Update Rollups.  

  • Hyper-V Virtual machine disappeared

    Hello,
    I am running Windows Server 2008 R2 SP1.  I have the Hyper-V role installed with to virtual machines.  I rebooted yesterday after windows updates loaded and now one of my virtual machine have disappeared.  I have run through hours of technet
    forums trying to find the answer and have come up empty. 
    I checked ProgramData\Microsoft\Windows|Hyper-V\Virtual Machines and the symbolic link is gone.  I tried to recreat it using the mklink command, but every time I recreate the symbolic link to the .xml it comes back as a link to a file folder.
    I checked the acl on the virtual machine .xml on my D: drive and the GUID SID is missing.  I also tried to add it back via the iacls command but it doesn't seem to exist. 
    After all that, I decided to recreate the entire virtual machine, but now I can't create virtual machines.  I get teh following error:
    "Failed to create external configuration store at 'folder path': A required privilege is not held by the client. (Virtual machine ID 0x80070522)"
    After that error I opend azman.msc and verified that the initalstore.xml has the administrators group in it.
    I do not know what else I can do from here.  Any help would be appreciated.

    Hi Jumar2,
    This will help others who are fighting with similar issues.
    Thanks for your sharing .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for