ID

Uploaded

Status

Description

Work Items

Action

8705
by jerzym
Mar 10, 2011
12:02 PM

Being evaluated

Hi,

I am testing 56411 version of Your library.
There is an error in Set-VMNICVLAN function stored in Network.ps1 which prevents one from setting a VLAN id in VM.

This is what is currently in source code (56411):

$vlanSetting=Get-WmiObject -ComputerName $Nic.__Server -Namespace $HyperVNamespace -q "associators of {$($nic.connection[0])} where assocClass=msvm_bindsto" |
foreach-object {Get-WmiObject -Namespace -ComputerName $Nic.__Server -q "associators of {$_} where assocClass=MSVM_NetWorkElementSettingData"}

This is what helps:

$vlanSetting=Get-WmiObject -ComputerName $Nic.__Server -Namespace $HyperVNamespace -q "associators of {$($nic.connection[0])} where assocClass=msvm_bindsto" |
foreach-object {Get-WmiObject -Namespace $HyperVNamespace -ComputerName $Nic.__Server -q "associators of {$_} where assocClass=MSVM_NetWorkElementSettingData"}

As You can see there is missing a variable name: $HyperVNamespace

This is my first submission/patch. What is the best practice here? Upload an entire file with fix or just a differential file?

Best Regards,
Jerzy

Download

6715
by SMFX
Sep 10, 2010
9:46 PM

Being evaluated

Updated Set-VMMemory to only change Limit on VM configuration if DynamicMemoryEnabled.

Created new function Set-VMDynamicMemory. Sets DynamicMemoryEnabled to true or changes to false is '-Disable' parameter used.
Parameters available for setting values:
-MaximumRAM
-StartupRAM
-Reservation

The interface they use apparently don't allow for modifying a running system though. That's something that would need to be done, but can be changed on a powered off system.

6534

Download

5631
by MartinH
Mar 29, 2010
1:44 PM

Being evaluated

see wi# 6250

Download

5246
by BZanten
Feb 11, 2010
2:43 PM

Being evaluated

#
BvZ Bugfixes :
- in Get-VMNICVLAN and Set-VMNICVLAN all Get-WmiObject calls have -ComputerName $Nic.__Server attached so it runs on remote machines
- misspelling of variable name $vlandID instead of $VlanID (d in the middle)
- updated Upper and Lowercase settings in the whole source file.

6013

Download

5244
by CodyWorker
Feb 11, 2010
10:38 AM

Being evaluated

Connect to another domain using get-vmhost does not work

Download

4147
by brentos
Oct 16, 2009
12:55 AM

Being evaluated

When connecting to a HyperV server remotely and managing the VM Memory, CPU, Serial Ports fail with WMI errors.

Changed the paramter, option on the VMConfig scripts to use the $VM's server instead of "."

[ValidateNotNullOrEmpty()]$server=$VM.__server

Download

4070
by brentos
Oct 8, 2009
4:01 AM

Being evaluated

Removed "edit" from vmconfig.ps1 on line 76.

Download

View All
  • 1-7 of 7 Patches
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Patches