Jump to content
Welcome to our new Citrix community!

Konstantina Chremmou

Internal Members
  • Posts

    22
  • Joined

  • Last visited

  • Days Won

    1

Konstantina Chremmou last won the day on April 4 2017

Konstantina Chremmou had the most liked content!

Profile Information

  • User name display option
    Full name
  • Occupation
    Senior Software Engineer

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Konstantina Chremmou's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

94

Reputation

  1. By the way, for questions on the XenServer PoSh module, this forum is better https://community.citrix.com/forums/forum/1118-xenserver-sdk/
  2. The command works using the -Name too, as long as the variable is passed in correctly: PS> $vmName="myVM" PS> get-xenvm -name $vmName | select HVM_boot_params HVM_boot_params --------------- {[order, cd], [firmware, uefi]} PS> $HVMBootParams = @{ "firmware" = "bios";"order" = "n"} PS> set-xenvm -name $vmName -HVMBootParams $HVMBootParams PS> get-xenvm -name $vmName | select HVM_boot_params HVM_boot_params --------------- {[order, n], [firmware, bios]}
  3. You're passing in the SR uuid to parameter -SR, however this needs a reference. You can obtain it as follows: get-xenSR -uuid xxx | ConvertTo-XenRef
  4. The command looks correct, but the syntax does not look PS compliant. The hash table should be declared as follows: $HVMBootParams = @{ "firmware" = "uefi";"order" = "n"} i.e. with semicolon separating the pairs and no commas within the keys. Also, use $VMNAME for the name variable.
×
×
  • Create New...