<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>PowerShell management Library for Hyper-V</title><link>http://www.codeplex.com/PSHyperv/Project/ProjectRss.aspx</link><description>A project to provide a PowerShell management library for Hyper-V    </description><item><title>New Post: I get only the initial list after registering the library</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=41438</link><description>&lt;div style="line-height: normal;"&gt;I get the list of commands after issuing: .\hyperv\hyperv.ps1 &lt;br&gt;
&lt;br&gt;
&lt;p&gt;VM Functions added&lt;/p&gt;
&lt;p&gt;Name&lt;br&gt;
----&lt;br&gt;
Add-VMDISK&lt;br&gt;
Add-VMDRIVE&lt;br&gt;
Add-VMFloppyDisk&lt;br&gt;
Add-VMNewHardDisk&lt;br&gt;
Add-VMNIC&lt;br&gt;
Add-VMSCSIController&lt;br&gt;
Apply-VMSnapshot&lt;br&gt;
Choose-VM&lt;br&gt;
choose-VMExternalEthernet&lt;br&gt;
Choose-VMNIC&lt;br&gt;
Choose-VMSnapshot&lt;/p&gt;
...&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
After that, any command Get-VM for example will give the following error.&lt;br&gt;
&lt;br&gt;
The term 'Get-VM' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try ag&lt;br&gt;
ain.&lt;br&gt;
At line:1 char:6&lt;br&gt;
+ Get-VM &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
&lt;/div&gt;</description><author>eduardo7095</author><pubDate>Thu, 04 Dec 2008 01:09:06 GMT</pubDate><guid isPermaLink="false">New Post: I get only the initial list after registering the library 20081204010906A</guid></item><item><title>Created Issue: New-VMSnapshot does not support -Wait</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=3407</link><description>As the title says, here is the fixed version&amp;#58;&lt;br /&gt;&lt;br /&gt;Filter New-VMSnapshot&lt;br /&gt;&amp;#123;Param&amp;#40; &amp;#36;VM , &amp;#36;Server&amp;#61;&amp;#34;.&amp;#34;, &amp;#91;switch&amp;#93;&amp;#36;Wait&amp;#41;&lt;br /&gt; if &amp;#40;&amp;#36;VM -eq &amp;#36;null&amp;#41; &amp;#123;&amp;#36;VM&amp;#61;&amp;#36;_ &amp;#125;&lt;br /&gt; if &amp;#40;&amp;#36;VM -is &amp;#91;String&amp;#93;&amp;#41; &amp;#123;&amp;#36;VM&amp;#61;&amp;#40;Get-VM -Name &amp;#36;VM -Server &amp;#36;server&amp;#41; &amp;#125;&lt;br /&gt; if &amp;#40;&amp;#36;VM -is &amp;#91;Array&amp;#93;&amp;#41; &amp;#123;&amp;#36;VM &amp;#124; ForEach-Object &amp;#123;New-VMSnapshot -VM  &amp;#36;_&amp;#125; &amp;#125;&lt;br /&gt; if &amp;#40;&amp;#36;VM -is &amp;#91;System.Management.ManagementObject&amp;#93;&amp;#41; &amp;#123;&lt;br /&gt;      &amp;#35;We are going to invoke CreateVirtualSystemSnapshot. Following from MSDN&lt;br /&gt;      &amp;#35;CreateVirtualSystemSnapshot. &amp;#40;&lt;br /&gt;      &amp;#35;  &amp;#91;in&amp;#93;   CIM_ComputerSystem Ref SourceSystem,  &amp;#47;&amp;#47; Reference to the virtual computer system to be snapshotted.&lt;br /&gt;      &amp;#35;  &amp;#91;out&amp;#93;  CIM_VirtualSystemSettingData Ref SnapshotSettingData,  &amp;#47;&amp;#47;The CIM_VirtualSystemSettingData instance that was created to represent the snapshot.&lt;br /&gt;      &amp;#35;  &amp;#91;out&amp;#93;  CIM_ConcreteJob Ref Job &amp;#41;&amp;#59;&lt;br /&gt;      &amp;#35;If this method is executed synchronously, it returns 0 if it succeeds. &lt;br /&gt;      &amp;#35;If this method is executed asynchronously, it returns 4096 and the Job output parameter can be used to track the progress of the asynchronous operation.&lt;br /&gt;      &amp;#35; Any other return value indicates an error.&lt;br /&gt;      &amp;#35; Virtual system Setting data never seems to be set. &lt;br /&gt;     &amp;#36;arguments&amp;#61;&amp;#40;&amp;#36;VM,&amp;#36;Null,&amp;#36;null&amp;#41; &lt;br /&gt;     &amp;#36;VSMgtSvc&amp;#61;Get-WmiObject -ComputerName &amp;#36;VM.__server -NameSpace  &amp;#34;root&amp;#92;virtualization&amp;#34; -Class &amp;#34;MsVM_virtualSystemManagementService&amp;#34;&lt;br /&gt;     &amp;#36;result&amp;#61;&amp;#36;VSMgtSvc.psbase.invokeMethod&amp;#40;&amp;#34;CreateVirtualSystemSnapshot&amp;#34;,&amp;#36;arguments&amp;#41;&lt;br /&gt;&amp;#9; if &amp;#40;&amp;#36;Wait&amp;#41; &amp;#123;test-wmijob &amp;#36;arguments&amp;#91;2&amp;#93;  -wait -Description &amp;#34;Snapshoting VM &amp;#36;&amp;#40;&amp;#36;vm.elementName&amp;#41;&amp;#34;&amp;#125;&lt;br /&gt;   &amp;#9; else&amp;#123;&amp;#9;&amp;#34;Snapshoting VM &amp;#39;&amp;#36;&amp;#40;&amp;#36;vm.elementName&amp;#41;&amp;#39;&amp;#58; &amp;#34;&amp;#43; &amp;#36;ReturnCode&amp;#91;&amp;#91;string&amp;#93;&amp;#36;result&amp;#93; &amp;#124; Out-host&lt;br /&gt;     &amp;#9;&amp;#9;&amp;#36;arguments&amp;#91;2&amp;#93; &amp;#125;&lt;br /&gt; &amp;#36;vm&amp;#61;&amp;#36;null&lt;br /&gt; &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>perb</author><pubDate>Mon, 24 Nov 2008 15:51:03 GMT</pubDate><guid isPermaLink="false">Created Issue: New-VMSnapshot does not support -Wait 20081124035103P</guid></item><item><title>Created Issue: Add support for KVP / Data Exchange</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=3400</link><description>Thanks for a great toolkit&amp;#33;&amp;#33;&amp;#33;&lt;br /&gt;&lt;br /&gt;What I am missing is support for KVP &amp;#47; Data Exchange. I created my own &amp;#34;hack&amp;#34; based on the following postings from Taylor Brown. I am attaching this code if you wan&amp;#39;t to have a look&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;blogs.msdn.com&amp;#47;taylorb&amp;#47;archive&amp;#47;2008&amp;#47;07&amp;#47;09&amp;#47;hyper-v-wmi-kvp-exchange-aka-data-exchange-retrieving-and-modifying-parent-host-kvp-s.aspx&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;blogs.msdn.com&amp;#47;taylorb&amp;#47;archive&amp;#47;2008&amp;#47;07&amp;#47;06&amp;#47;hyper-v-wmi-kvp-exchange-aka-data-exchange-adding-new-items-from-parent-host.aspx&lt;br /&gt;</description><author>perb</author><pubDate>Thu, 20 Nov 2008 09:21:15 GMT</pubDate><guid isPermaLink="false">Created Issue: Add support for KVP / Data Exchange 20081120092115A</guid></item><item><title>New Post: commands are doing nothing</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=35524</link><description>&lt;div style="line-height: normal;"&gt;As Administrator, hyper-v RTM, No output from any script, List-VM, Kill-VM, etc....&lt;br&gt;
&lt;/div&gt;</description><author>Fileman</author><pubDate>Fri, 24 Oct 2008 10:12:13 GMT</pubDate><guid isPermaLink="false">New Post: commands are doing nothing 20081024101213A</guid></item><item><title>Commented Issue: Difficult to determine parent VHD file of VM if it has snapshots</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=3011</link><description>If you have a VM with snapshots, running get-vmdisk will show you the latest info for the snapshot and point to an avhd, not the parent vhd.&lt;br /&gt;Comments: ** Comment from web user: agacos ** &lt;p&gt;This is how I would do it in C&amp;#43;&amp;#43;&amp;#58;&lt;br /&gt;1. Query WMI ParentChildSettingData to get the VM and snapshot instance ID relationships.&lt;br /&gt;2. Query WMI Msvm_ResourceAllocationSettingData to get the list of vhd and snapshot paths of each VM.&lt;br /&gt;3. Based from data above, I should be able to get the vhd path of a snapshotted VM.&lt;/p&gt;&lt;p&gt;Example&amp;#58;&lt;br /&gt;Msvm_ParentChildSettingData&lt;/p&gt;&lt;p&gt; Antecedent&amp;#58; &amp;#92;&amp;#92;MGHV&amp;#92;root&amp;#92;virtualization&amp;#58;Msvm_VirtualSystemSettingData.InstanceID&amp;#61;&amp;#34;Microsoft&amp;#58;8F413EBA-EDD2-4D82-9285-93DBF619BAE6&amp;#34; &amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60; use this InstanceID to get the VHD path in Msvm_ResourceAllocationSettingData&lt;br /&gt;Dependent&amp;#58; &amp;#92;&amp;#92;MGHV&amp;#92;root&amp;#92;virtualization&amp;#58;Msvm_VirtualSystemSettingData.InstanceID&amp;#61;&amp;#34;Microsoft&amp;#58;81657DD1-6CED-4433-A7A5-CB07AA481581&amp;#34;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;Msvm_ResourceAllocationSettingData&lt;/p&gt;&lt;p&gt; &lt;br /&gt;Address&amp;#58; &lt;br /&gt;AllocationUnits&amp;#58; Disks&lt;br /&gt;AutomaticAllocation&amp;#58; True&lt;br /&gt;AutomaticDeallocation&amp;#58; True&lt;br /&gt;Caption&amp;#58; Hard Disk Image&lt;br /&gt;Connection&amp;#58; D&amp;#58;&amp;#92;Snapshots&amp;#92;W2K3-cluster-node01&amp;#92;Snapshots&amp;#92;81657DD1-6CED-4433-A7A5-CB07AA481581&amp;#92;W2K3-cluster-node01_6F8500CD-1958-4B75-AC89-FCED9B8E1058.avhd&lt;br /&gt;ConsumerVisibility&amp;#58; 3&lt;br /&gt;Description&amp;#58; Settings for the Microsoft Hard Disk Image.&lt;br /&gt;ElementName&amp;#58; Hard Disk Image&lt;br /&gt;HostResource&amp;#58; &lt;br /&gt;InstanceID&amp;#58; Microsoft&amp;#58;81657DD1-6CED-4433-A7A5-CB07AA481581&amp;#92;83F8638B-8DCA-4152-9EDA-2CA8B33039B4&amp;#92;0&amp;#92;0&amp;#92;L&lt;br /&gt;Limit&amp;#58; 1&lt;br /&gt;MappingBehavior&amp;#58; &lt;br /&gt;OtherResourceType&amp;#58; &lt;br /&gt;Parent&amp;#58; &amp;#92;&amp;#92;MGHV&amp;#92;root&amp;#92;virtualization&amp;#58;Msvm_ResourceAllocationSettingData.InstanceID&amp;#61;&amp;#34;Microsoft&amp;#58;81657DD1-6CED-4433-A7A5-CB07AA481581&amp;#92;&amp;#92;83F8638B-8DCA-4152-9EDA-2CA8B33039B4&amp;#92;&amp;#92;0&amp;#92;&amp;#92;0&amp;#92;&amp;#92;D&amp;#34;&lt;br /&gt;PoolID&amp;#58; Microsoft&amp;#58;70BB60D2-A9D3-46aa-B654-3DE53004B4F8&amp;#92;Root&lt;br /&gt;Reservation&amp;#58; 1&lt;br /&gt;ResourceSubType&amp;#58; Microsoft Virtual Hard Disk&lt;br /&gt;ResourceType&amp;#58; 21&lt;br /&gt;VirtualQuantity&amp;#58; 1&lt;br /&gt;Weight&amp;#58; 0&lt;br /&gt;  &lt;/p&gt;&lt;p&gt;Address&amp;#58; &lt;br /&gt;AllocationUnits&amp;#58; Disks&lt;br /&gt;AutomaticAllocation&amp;#58; True&lt;br /&gt;AutomaticDeallocation&amp;#58; True&lt;br /&gt;Caption&amp;#58; Hard Disk Image&lt;br /&gt;Connection&amp;#58; E&amp;#58;&amp;#92;Hyper-V&amp;#92;W2K3-cluster-node01&amp;#92;W2K3-cluster-node01.vhd &amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60; our vhd path&lt;br /&gt;ConsumerVisibility&amp;#58; 3&lt;br /&gt;Description&amp;#58; Settings for the Microsoft Hard Disk Image.&lt;br /&gt;ElementName&amp;#58; Hard Disk Image&lt;br /&gt;HostResource&amp;#58; &lt;br /&gt;InstanceID&amp;#58; Microsoft&amp;#58;8F413EBA-EDD2-4D82-9285-93DBF619BAE6&amp;#92;83F8638B-8DCA-4152-9EDA-2CA8B33039B4&amp;#92;0&amp;#92;0&amp;#92;L &amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60;&amp;#60; instance if from Msvm_ParentChildSettingData&lt;br /&gt;Limit&amp;#58; 1&lt;br /&gt;MappingBehavior&amp;#58; &lt;br /&gt;OtherResourceType&amp;#58; &lt;br /&gt;Parent&amp;#58; &amp;#92;&amp;#92;MGHV&amp;#92;root&amp;#92;virtualization&amp;#58;Msvm_ResourceAllocationSettingData.InstanceID&amp;#61;&amp;#34;Microsoft&amp;#58;8F413EBA-EDD2-4D82-9285-93DBF619BAE6&amp;#92;&amp;#92;83F8638B-8DCA-4152-9EDA-2CA8B33039B4&amp;#92;&amp;#92;0&amp;#92;&amp;#92;0&amp;#92;&amp;#92;D&amp;#34;&lt;br /&gt;PoolID&amp;#58; Microsoft&amp;#58;70BB60D2-A9D3-46aa-B654-3DE53004B4F8&amp;#92;Root&lt;br /&gt;Reservation&amp;#58; 1&lt;br /&gt;ResourceSubType&amp;#58; Microsoft Virtual Hard Disk&lt;br /&gt;ResourceType&amp;#58; 21&lt;br /&gt;VirtualQuantity&amp;#58; 1&lt;br /&gt;Weight&amp;#58; 0&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>agacos</author><pubDate>Tue, 14 Oct 2008 22:50:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: Difficult to determine parent VHD file of VM if it has snapshots 20081014105049P</guid></item><item><title>New Post: Export-VM does not copy vhd file to export folder</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=37006</link><description>&lt;div style="line-height: normal;"&gt;The 1st time I did a &amp;quot;Export-VM&amp;quot; it created 3 folders: Snapshot, Virtual Harddrive, and Virtual Machine.&lt;br&gt;
&lt;br&gt;
Everytime after that it only creates the Virtual Machine folder, the Virtual Harddrive folder does not get created and the vhd file does not get copied to the export folder.
&lt;/div&gt;</description><author>pyong</author><pubDate>Fri, 03 Oct 2008 20:43:32 GMT</pubDate><guid isPermaLink="false">New Post: Export-VM does not copy vhd file to export folder 20081003084332P</guid></item><item><title>Commented Issue: Difficult to determine parent VHD file of VM if it has snapshots</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=3011</link><description>If you have a VM with snapshots, running get-vmdisk will show you the latest info for the snapshot and point to an avhd, not the parent vhd.&lt;br /&gt;Comments: ** Comment from web user: robhu ** &lt;p&gt;The reason I wanted this was so I could easily delete a VM and the main Diff VHD that goes with it.  I can then delete the VM which will delete all the snapshots that go with it, and then I could delete the main Diff.  Otherwise, I have to go through each Snapshot until I get to the one that points the main Diff VHD.&lt;/p&gt;&lt;p&gt;Perhaps more information is returned in the get-vmdisk function which will include all linked VHDs back to the main VHD.  So it returns the DiskPath to the current VHD &amp;#40;or AVHD&amp;#41; that it&amp;#39;s linked to, and then either through another switch parameter or not it will also display which VHD &amp;#40;or AVHD&amp;#41; that is up the chain from that one until and repeat until it reaches the end of the chain.&lt;/p&gt;</description><author>robhu</author><pubDate>Fri, 03 Oct 2008 18:47:07 GMT</pubDate><guid isPermaLink="false">Commented Issue: Difficult to determine parent VHD file of VM if it has snapshots 20081003064707P</guid></item><item><title>Commented Issue: Difficult to determine parent VHD file of VM if it has snapshots</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=3011</link><description>If you have a VM with snapshots, running get-vmdisk will show you the latest info for the snapshot and point to an avhd, not the parent vhd.&lt;br /&gt;Comments: ** Comment from web user: jamesone ** &lt;p&gt;That is correct behavior.  Ahvd is attached to the VM, the parent of the avhd will be the original VHD &amp;#40;or an intermediate aVHD&amp;#41; - in a similar way to a differencing disk. &lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure of the best way to handle this because anything that assumes the disk gives complete information is going to come unstuck when there is a snapshot or a differencing disk in use. If places where you&amp;#39;d expect a disk to be returned if multiple disks are returned that would also cause confusion. &lt;br /&gt; &lt;br /&gt;I&amp;#39;ll give it some thought but any suggestions on the best way to handle it would be gratefully recieved. &lt;br /&gt;&lt;/p&gt;</description><author>jamesone</author><pubDate>Tue, 30 Sep 2008 09:26:42 GMT</pubDate><guid isPermaLink="false">Commented Issue: Difficult to determine parent VHD file of VM if it has snapshots 20080930092642A</guid></item><item><title>Commented Issue: Delete multiple (all) snapshots of a VM</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=3010</link><description>It doesn&amp;#39;t appear it&amp;#39;s possible to delete all snapshots of a VM because the remove-vmsnapshot function doesn&amp;#39;t wait for each operation to complete &amp;#40;ie. via a -wait like other functions&amp;#41;.  So while jobs are created to delete multiple snapshots, only the first job successfully completes.&lt;br /&gt;Comments: ** Comment from web user: jamesone ** &lt;p&gt;Good catch, I&amp;#39;ll fix that for next release &lt;/p&gt;</description><author>jamesone</author><pubDate>Tue, 30 Sep 2008 09:20:55 GMT</pubDate><guid isPermaLink="false">Commented Issue: Delete multiple (all) snapshots of a VM 20080930092055A</guid></item><item><title>Created Issue: Difficult to determine parent VHD file of VM if it has snapshots</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=3011</link><description>If you have a VM with snapshots, running get-vmdisk will show you the latest info for the snapshot and point to an avhd, not the parent vhd.&lt;br /&gt;</description><author>robhu</author><pubDate>Tue, 23 Sep 2008 00:09:36 GMT</pubDate><guid isPermaLink="false">Created Issue: Difficult to determine parent VHD file of VM if it has snapshots 20080923120936A</guid></item><item><title>Created Issue: Delete multiple (all) snapshots of a VM</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=3010</link><description>It doesn&amp;#39;t appear it&amp;#39;s possible to delete all snapshots of a VM because the remove-vmsnapshot function doesn&amp;#39;t wait for each operation to complete &amp;#40;ie. via a -wait like other functions&amp;#41;.  So while jobs are created to delete multiple snapshots, only the first job successfully completes.&lt;br /&gt;</description><author>robhu</author><pubDate>Tue, 23 Sep 2008 00:07:28 GMT</pubDate><guid isPermaLink="false">Created Issue: Delete multiple (all) snapshots of a VM 20080923120728A</guid></item><item><title>New Post: commands are doing nothing</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=35524</link><description>&lt;div style="line-height: normal;"&gt;If you are not logged on as THE administrator, you need to run powershell elevated.&lt;br&gt;
&lt;br&gt;
There are examples for each command in the script, proper documentation is being worked on. &lt;br&gt;
&lt;br&gt;
It also FAILS if you are running the beta of hyper-V&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>jamesone</author><pubDate>Mon, 15 Sep 2008 20:09:30 GMT</pubDate><guid isPermaLink="false">New Post: commands are doing nothing 20080915080930P</guid></item><item><title>New Post: commands are doing nothing</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=35524</link><description>&lt;div style="line-height: normal;"&gt;Hi folks,&lt;br&gt;
&lt;br&gt;
I was trying again to get these tools running.&lt;br&gt;
I opened a powershell and loaded the script first.&lt;br&gt;
&lt;br&gt;
But calling things like this:&lt;br&gt;
Start-VM myvm01&lt;br&gt;
&lt;br&gt;
or like this:&lt;br&gt;
Ping-VM myvm02&lt;br&gt;
&lt;br&gt;
are not working&lt;br&gt;
&lt;br&gt;
The only Call that worked was:&lt;br&gt;
New-VM myvm03&lt;br&gt;
&lt;br&gt;
The vm myvm03 was created.&lt;br&gt;
&lt;br&gt;
Is the a manual, a wiki or so? I am willing to help testing.&lt;br&gt;
&lt;br&gt;
Cheers Thomas&lt;br&gt;
&lt;/div&gt;</description><author>tommew</author><pubDate>Mon, 15 Sep 2008 14:31:17 GMT</pubDate><guid isPermaLink="false">New Post: commands are doing nothing 20080915023117P</guid></item><item><title>New Post: Totally confused</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=35417</link><description>&lt;div style="line-height: normal;"&gt;Thanks it was the &amp;quot;..\&amp;quot; that was the problem it seems.&amp;nbsp;I was only using &amp;quot;.\&amp;quot; before which looked exactly the same as far as output was concerned, but obviously did not have the same effects.&lt;br&gt;
&lt;br&gt;
Much appreciated.
&lt;/div&gt;</description><author>Dirge</author><pubDate>Fri, 12 Sep 2008 18:46:05 GMT</pubDate><guid isPermaLink="false">New Post: Totally confused 20080912064605P</guid></item><item><title>New Post: command are doing nothing</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=35524</link><description>&lt;div style="line-height: normal;"&gt;Thanks to the PSHyperv team first.&lt;br&gt;
&lt;br&gt;
I loaded the hyperv.ps1 but if I call Ping-VM &amp;lt;vmname&amp;gt; or &lt;span id="ctl00_ctl00_Content_TabContentPanel_Content_wikiSourceLabel"&gt;Get-VMState &amp;lt;vmname&amp;gt; there is not output at all.&lt;br&gt;
Any ideas to figure out pshyperv is working?&lt;br&gt;
&lt;br&gt;
I am fighting the freebsd shutdown problem Luka mentioned here &lt;a href="http://luka.manojlovic.net/2008/07/18/hyper-v-freebsd-shutdown-problem-workaround"&gt;http://luka.manojlovic.net/2008/07/18/hyper-v-freebsd-shutdown-problem-workaround&lt;/a&gt;.&lt;br&gt;
So first I want to try the original &lt;/span&gt;&lt;span id="ctl00_ctl00_Content_TabContentPanel_Content_wikiSourceLabel"&gt;pshyperv&amp;nbsp; - later on Luka's version containing the Kill-VM.&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;span id="ctl00_ctl00_Content_TabContentPanel_Content_wikiSourceLabel"&gt;&lt;br&gt;
Thomas&lt;br&gt;
&lt;/span&gt;
&lt;/div&gt;</description><author>tommew</author><pubDate>Fri, 12 Sep 2008 10:27:22 GMT</pubDate><guid isPermaLink="false">New Post: command are doing nothing 20080912102722A</guid></item><item><title>New Post: Totally confused</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=35417</link><description>&lt;div style="line-height: normal;"&gt;J.&lt;br&gt;
&lt;br&gt;
try to call . .\hyperv.ps1 ftom the folder the zip was extraced to. notice the dot+space+dot+slash.&lt;br&gt;
&lt;br&gt;
I short manual can also be found here &lt;br&gt;
&lt;a href="http://luka.manojlovic.net/2008/07/18/hyper-v-freebsd-shutdown-problem-workaround"&gt;http://luka.manojlovic.net/2008/07/18/hyper-v-freebsd-shutdown-problem-workaround&lt;/a&gt; &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
thomas&lt;br&gt;
&lt;/div&gt;</description><author>tommew</author><pubDate>Fri, 12 Sep 2008 10:20:50 GMT</pubDate><guid isPermaLink="false">New Post: Totally confused 20080912102050A</guid></item><item><title>New Post: Totally confused</title><link>http://www.codeplex.com/PSHyperv/Thread/View.aspx?ThreadId=35417</link><description>&lt;div style="line-height: normal;"&gt;&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;I hope someone can point me in the right direction as I can’t figure out how to get this to work at all.&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;I have run the registry file, and run the script hyperv.ps1 and it looks like it has finished successfully, but if I type any of the functions I get something like this:&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="color:#76923c"&gt;&lt;span style="font-family:Calibri"&gt;The term 'get-vm' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="color:#76923c"&gt;&lt;span style="font-family:Calibri"&gt;At line:1 char:7&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="color:#76923c"&gt;&lt;span style="font-family:Calibri"&gt;+ get-vm &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;Am I doing something wrong?&amp;nbsp; I am a complete PowerShell newbie so I would not be surprised if I have missed something important, but I have been unable to figure out what it is...&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;BTW in case this is the cause, I am running PowerShell on Windows 2008 Server Core 64bit which I installed following these instructions: &lt;/span&gt;&lt;a href="http://dmitrysotnikov.wordpress.com/2008/05/15/powershell-on-server-core/"&gt;&lt;span style="font-family:Calibri"&gt;http://dmitrysotnikov.wordpress.com/2008/05/15/powershell-on-server-core/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:Calibri"&gt;Thanks in advance &lt;/span&gt;&lt;span style="font-family:Wingdings"&gt;J&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>Dirge</author><pubDate>Thu, 11 Sep 2008 04:04:31 GMT</pubDate><guid isPermaLink="false">New Post: Totally confused 20080911040431A</guid></item><item><title>Commented Feature: Add Get-VMSummaryInformation</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=2904</link><description>I wrote the following to get a few additional statistics &amp;#40;I also posted it on MSDN documentation&amp;#41;.  It could use some cleanup but may be helpful for someone.  Strange how the API keeps the same information &amp;#40;number of cpus, uptime, etc.&amp;#41; in a bunch of different places....&lt;br /&gt;&lt;br /&gt;function Get-VirtualSystemManagementService &lt;br /&gt;&amp;#123;&lt;br /&gt;    return gwmi -class &amp;#34;Msvm_VirtualSystemManagementService&amp;#34; -namespace &amp;#34;root&amp;#92;virtualization&amp;#34;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;function Get-VirtualMachine&amp;#40;&amp;#91;string&amp;#93; &amp;#36;Name&amp;#61;&amp;#34;&amp;#34;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#36;query &amp;#61; &amp;#34;select &amp;#42; from Msvm_ComputerSystem where ElementName&amp;#61;&amp;#39;&amp;#34; &amp;#43; &amp;#36;Name &amp;#43; &amp;#34;&amp;#39;&amp;#34;&lt;br /&gt;    return gwmi -namespace &amp;#34;root&amp;#92;virtualization&amp;#34; -query &amp;#36;query&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;function Get-VirtualMachineSettingData&amp;#40;&amp;#91;string&amp;#93; &amp;#36;Name&amp;#61;&amp;#34;&amp;#34;&amp;#41;&lt;br /&gt;&amp;#123;    &lt;br /&gt;    &amp;#36;virtualMachine &amp;#61; Get-VirtualMachine&amp;#40;&amp;#36;Name&amp;#41;&lt;br /&gt;    &amp;#36;query &amp;#61; &amp;#34;ASSOCIATORS OF &amp;#123;&amp;#34; &amp;#43; &amp;#36;virtualMachine.__Path &amp;#43; &amp;#34;&amp;#125; WHERE resultClass &amp;#61; Msvm_VirtualSystemsettingData&amp;#34;&lt;br /&gt;    return gwmi -query &amp;#36;query -namespace &amp;#34;root&amp;#92;virtualization&amp;#34;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;function Get-VirtualMachineSummaryInformation&amp;#40;&amp;#91;string&amp;#93; &amp;#36;Name&amp;#61;&amp;#34;&amp;#34;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#36;requestedProperties &amp;#61; 0,1,2,3,4,5,6,7,100,101,102,103,104,105,106,107,108,109&lt;br /&gt;    &amp;#36;service &amp;#61; Get-VirtualSystemManagementService&lt;br /&gt;    &amp;#36;settings &amp;#61; Get-VirtualMachineSettingData&amp;#40;&amp;#36;Name&amp;#41;&lt;br /&gt;    &amp;#36;summaryList &amp;#61; &amp;#36;service.GetSummaryInformation&amp;#40;&amp;#36;settings.__PATH, &amp;#36;requestedProperties&amp;#41;&lt;br /&gt;    foreach&amp;#40;&amp;#36;summary in &amp;#36;summaryList.SummaryInformation&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        return &amp;#36;summary&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;Usage&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#36;results &amp;#61; Get-VirtualMachineSummaryInformation&amp;#40;&amp;#34;WinXPx32&amp;#34;&amp;#41;&lt;br /&gt;&lt;br /&gt;Displaying Output&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#34;Name&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.Name&lt;br /&gt;&amp;#34;ElementName&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.ElementName&lt;br /&gt;&amp;#34;MemoryUsage&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.MemoryUsage&lt;br /&gt;&amp;#34;GuestOperatingSystem&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.GuestOperatingSystem&lt;br /&gt;&amp;#34;HealthState&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.HealthState&lt;br /&gt;&amp;#34;Heartbeat&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.Heartbeat&lt;br /&gt;&amp;#34;Notes&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.Notes&lt;br /&gt;&amp;#34;NumberOfProcessors&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.NumberOfProcessors&lt;br /&gt;&amp;#34;ProcessorLoad&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.ProcessorLoad&lt;br /&gt;&amp;#34;UpTime&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.UpTime&lt;br /&gt;&lt;br /&gt;Sample Output&amp;#58;&lt;br /&gt;&lt;br /&gt;Name&amp;#58; B0C19E9D-C09F-46FD-B548-D8249032A485&lt;br /&gt;ElementName&amp;#58; WinXPx32&lt;br /&gt;MemoryUsage&amp;#58; 2048&lt;br /&gt;GuestOperatingSystem&amp;#58; Microsoft Windows XP&lt;br /&gt;HealthState&amp;#58; 5&lt;br /&gt;Heartbeat&amp;#58; 2&lt;br /&gt;Notes&amp;#58;&lt;br /&gt;NumberOfProcessors&amp;#58; 1&lt;br /&gt;ProcessorLoad&amp;#58; 0&lt;br /&gt;UpTime&amp;#58; 5865112&lt;br /&gt;Comments: ** Comment from web user: 12055 ** &lt;p&gt;Cool, I was wondering what a good work around would be for the fact that the results were not a proper object. &lt;/p&gt;</description><author>12055</author><pubDate>Wed, 27 Aug 2008 21:42:02 GMT</pubDate><guid isPermaLink="false">Commented Feature: Add Get-VMSummaryInformation 20080827094202P</guid></item><item><title>Commented Issue: Add Get-VMSummaryInformation</title><link>http://www.codeplex.com/PSHyperv/WorkItem/View.aspx?WorkItemId=2904</link><description>I wrote the following to get a few additional statistics &amp;#40;I also posted it on MSDN documentation&amp;#41;.  It could use some cleanup but may be helpful for someone.  Strange how the API keeps the same information &amp;#40;number of cpus, uptime, etc.&amp;#41; in a bunch of different places....&lt;br /&gt;&lt;br /&gt;function Get-VirtualSystemManagementService &lt;br /&gt;&amp;#123;&lt;br /&gt;    return gwmi -class &amp;#34;Msvm_VirtualSystemManagementService&amp;#34; -namespace &amp;#34;root&amp;#92;virtualization&amp;#34;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;function Get-VirtualMachine&amp;#40;&amp;#91;string&amp;#93; &amp;#36;Name&amp;#61;&amp;#34;&amp;#34;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#36;query &amp;#61; &amp;#34;select &amp;#42; from Msvm_ComputerSystem where ElementName&amp;#61;&amp;#39;&amp;#34; &amp;#43; &amp;#36;Name &amp;#43; &amp;#34;&amp;#39;&amp;#34;&lt;br /&gt;    return gwmi -namespace &amp;#34;root&amp;#92;virtualization&amp;#34; -query &amp;#36;query&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;function Get-VirtualMachineSettingData&amp;#40;&amp;#91;string&amp;#93; &amp;#36;Name&amp;#61;&amp;#34;&amp;#34;&amp;#41;&lt;br /&gt;&amp;#123;    &lt;br /&gt;    &amp;#36;virtualMachine &amp;#61; Get-VirtualMachine&amp;#40;&amp;#36;Name&amp;#41;&lt;br /&gt;    &amp;#36;query &amp;#61; &amp;#34;ASSOCIATORS OF &amp;#123;&amp;#34; &amp;#43; &amp;#36;virtualMachine.__Path &amp;#43; &amp;#34;&amp;#125; WHERE resultClass &amp;#61; Msvm_VirtualSystemsettingData&amp;#34;&lt;br /&gt;    return gwmi -query &amp;#36;query -namespace &amp;#34;root&amp;#92;virtualization&amp;#34;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;function Get-VirtualMachineSummaryInformation&amp;#40;&amp;#91;string&amp;#93; &amp;#36;Name&amp;#61;&amp;#34;&amp;#34;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#36;requestedProperties &amp;#61; 0,1,2,3,4,5,6,7,100,101,102,103,104,105,106,107,108,109&lt;br /&gt;    &amp;#36;service &amp;#61; Get-VirtualSystemManagementService&lt;br /&gt;    &amp;#36;settings &amp;#61; Get-VirtualMachineSettingData&amp;#40;&amp;#36;Name&amp;#41;&lt;br /&gt;    &amp;#36;summaryList &amp;#61; &amp;#36;service.GetSummaryInformation&amp;#40;&amp;#36;settings.__PATH, &amp;#36;requestedProperties&amp;#41;&lt;br /&gt;    foreach&amp;#40;&amp;#36;summary in &amp;#36;summaryList.SummaryInformation&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        return &amp;#36;summary&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;Usage&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#36;results &amp;#61; Get-VirtualMachineSummaryInformation&amp;#40;&amp;#34;WinXPx32&amp;#34;&amp;#41;&lt;br /&gt;&lt;br /&gt;Displaying Output&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#34;Name&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.Name&lt;br /&gt;&amp;#34;ElementName&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.ElementName&lt;br /&gt;&amp;#34;MemoryUsage&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.MemoryUsage&lt;br /&gt;&amp;#34;GuestOperatingSystem&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.GuestOperatingSystem&lt;br /&gt;&amp;#34;HealthState&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.HealthState&lt;br /&gt;&amp;#34;Heartbeat&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.Heartbeat&lt;br /&gt;&amp;#34;Notes&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.Notes&lt;br /&gt;&amp;#34;NumberOfProcessors&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.NumberOfProcessors&lt;br /&gt;&amp;#34;ProcessorLoad&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.ProcessorLoad&lt;br /&gt;&amp;#34;UpTime&amp;#58; &amp;#34; &amp;#43; &amp;#36;results.UpTime&lt;br /&gt;&lt;br /&gt;Sample Output&amp;#58;&lt;br /&gt;&lt;br /&gt;Name&amp;#58; B0C19E9D-C09F-46FD-B548-D8249032A485&lt;br /&gt;ElementName&amp;#58; WinXPx32&lt;br /&gt;MemoryUsage&amp;#58; 2048&lt;br /&gt;GuestOperatingSystem&amp;#58; Microsoft Windows XP&lt;br /&gt;HealthState&amp;#58; 5&lt;br /&gt;Heartbeat&amp;#58; 2&lt;br /&gt;Notes&amp;#58;&lt;br /&gt;NumberOfProcessors&amp;#58; 1&lt;br /&gt;ProcessorLoad&amp;#58; 0&lt;br /&gt;UpTime&amp;#58; 5865112&lt;br /&gt;Comments: ** Comment from web user: jamesone ** &lt;p&gt;I will add the code to the next release. I&amp;#39;ve reworked it somewhat and it now looks like this .&lt;br /&gt;Filter Get-VirtualMachineSummaryInformation&lt;br /&gt;&amp;#123;param &amp;#40;&amp;#36;vm , &amp;#36;Server&amp;#61;&amp;#34;.&amp;#34;&amp;#41;&lt;br /&gt; if &amp;#40;&amp;#36;vm -eq &amp;#36;null&amp;#41; &amp;#123;&amp;#36;vssd&amp;#61;Get-VMSettingData &amp;#36;_  &amp;#36;Server&amp;#125;&lt;br /&gt; else               &amp;#123;&amp;#36;vssd&amp;#61;Get-VMSettingData &amp;#36;vm &amp;#36;server&amp;#125;&lt;br /&gt; &amp;#36;settingPath &amp;#61; &amp;#64;&amp;#40;&amp;#41;&lt;br /&gt; &amp;#36;vssd &amp;#124; foreach-object &amp;#123;&amp;#36;settingPath &amp;#43;&amp;#61; &amp;#36;_.__Path &amp;#59; &amp;#36;Server&amp;#61;&amp;#36;_.__Server&amp;#125;&lt;br /&gt; &amp;#36;arguments&amp;#61;&amp;#64;&amp;#40;&amp;#36;SettingPath, &amp;#64;&amp;#40;0,1,2,3,4,100,101,102,103,104,105,106,107,108&amp;#41;, &amp;#36;null&amp;#41;&lt;br /&gt; &amp;#36;VSMgtSvc&amp;#61;Get-WmiObject -computerName &amp;#36;Server -NameSpace &amp;#34;root&amp;#92;virtualization&amp;#34; -Class &amp;#34;MsVM_virtualSystemManagementService&amp;#34;          &lt;br /&gt; &amp;#36;result&amp;#61;&amp;#36;VSMgtSvc.psbase.InvokeMethod&amp;#40;&amp;#34;GetSummaryInformation&amp;#34;,&amp;#36;arguments&amp;#41;&lt;br /&gt; if &amp;#40;&amp;#36;Result -eq 0&amp;#41; &amp;#123;&amp;#36;arguments&amp;#91;2&amp;#93; &amp;#124; foreach-object &amp;#123;&lt;br /&gt;        &amp;#36;SiObj &amp;#61; New-Object -TypeName System.Object&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;Name&amp;#34;             -Value &amp;#36;_.name&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;ElementName&amp;#34;      -Value &amp;#36;_.elementname&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;CreationTime&amp;#34;     -Value &amp;#36;_.CreationTime&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;EnabledState&amp;#34;     -Value &amp;#36;_.EnabledState&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;EnabledStateText&amp;#34; -Value &amp;#40;convert-vmState&amp;#40;&amp;#36;_.EnabledState&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;Notes&amp;#34;            -Value &amp;#36;_.Notes&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;CPUCount&amp;#34;         -Value &amp;#36;_.NumberOfProcessors&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;CPULoad&amp;#34;          -Value &amp;#36;_.ProcessorLoad&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;CPULoadHistory&amp;#34;   -Value &amp;#36;_.ProcessorLoadHistory&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;MemoryUsage&amp;#34;      -Value &amp;#36;_.MemoryUsage&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;Heartbeat&amp;#34;        -Value &amp;#36;_.Heartbeat&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;HeartbeatText&amp;#34;    -Value &amp;#64;&amp;#123;2&amp;#61;&amp;#34;OK&amp;#34;&amp;#59; 6&amp;#61;&amp;#34;Error&amp;#34;&amp;#59; 12&amp;#61;&amp;#34;No Contact&amp;#34;&amp;#59;13&amp;#61;&amp;#34;Lost Communication&amp;#34;&amp;#125;&amp;#91;&amp;#91;int&amp;#93;&amp;#36;_.Heartbeat&amp;#93;&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;Uptime&amp;#34; &amp;#9;   -Value &amp;#36;_.UpTime&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType ScriptProperty -Name &amp;#34;UptimeFormatted&amp;#34;  -Value &amp;#123;if &amp;#40;&amp;#36;This.uptime -gt 0&amp;#41; &amp;#123;&amp;#40;&amp;#91;datetime&amp;#93;0&amp;#41;.addmilliseconds&amp;#40;&amp;#36;This.UpTime&amp;#41;.tostring&amp;#40;&amp;#34;hh&amp;#58;mm&amp;#58;ss&amp;#34;&amp;#41;&amp;#125; else &amp;#123;0&amp;#125; &amp;#125;&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;GuestOS&amp;#34;          -Value &amp;#36;_.GuestOperatingSystem&amp;#59;&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;Snapshots&amp;#34;        -Value &amp;#36;_.Snapshots.count&lt;br /&gt;&amp;#9;Add-Member -inputObject &amp;#36;siObj -MemberType NoteProperty   -Name &amp;#34;Jobs&amp;#34;             -Value &amp;#36;_.AsynchronousTasks &lt;br /&gt;&amp;#9;&amp;#36;siObj &amp;#125; &amp;#125;&lt;br /&gt;    else &amp;#123;&amp;#34;Get Summary info &amp;#58;&amp;#34; &amp;#43; &amp;#36;ReturnCode&amp;#91;&amp;#91;string&amp;#93;&amp;#36;result&amp;#93; &amp;#124; Out-host &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;/p&gt;</description><author>jamesone</author><pubDate>Tue, 26 Aug 2008 23:50:37 GMT</pubDate><guid isPermaLink="false">Commented Issue: Add Get-VMSummaryInformation 20080826115037P</guid></item><item><title>Released: 0.95a Beta (Aug 19, 2008)</title><link>http://www.codeplex.com/PSHyperv/Release/ProjectReleases.aspx?ReleaseId=16422</link><description>&lt;div&gt;
Several minor bugs have been fixed, including 2 which were in the non -a release and there is more consistency with parameter passing. &lt;br&gt; &lt;br&gt;&lt;ul&gt;
&lt;li&gt;where a command had a MachineName parameter it is now simply Name. &lt;/li&gt;
&lt;/ul&gt; &lt;br&gt;&lt;ul&gt;
&lt;li&gt;Get-VMDrive has been renamed Get-VMDriveByController, and Get-VMDisk has been renamed Get-VMDiskByDrive&lt;/li&gt;&lt;li&gt;The old List-VMState and List-VMDisk have become Get-VMState and Get-VMdisk&lt;/li&gt;
&lt;/ul&gt; &lt;br&gt;&lt;ul&gt;
&lt;li&gt;A Get-VMJpeg function has been added to get snapshots&lt;/li&gt;
&lt;/ul&gt; &lt;br&gt;&lt;ul&gt;
&lt;li&gt;Functions have been added to support the creation of Network interfaces, Choose-VMExternalEthernet, New-VMExternalSwitch, VMNewIntrnalSwitch, New-VMPrivateSwitch&lt;/li&gt;
&lt;/ul&gt; &lt;br&gt;&lt;ul&gt;
&lt;li&gt;Get-VMNic will return Legacy and VMBus NICs if neither type is specified (previously -Legacy and -Vmbus needed to used)&lt;/li&gt;
&lt;/ul&gt; &lt;br&gt;&lt;ul&gt;
&lt;li&gt;New VHD functions have been added for Expand-VHD, Convert-VHD, Test-VHD, Merge-VHD&lt;/li&gt;
&lt;/ul&gt; &lt;br&gt;&lt;ul&gt;
&lt;li&gt;Apply-snapshot now supports -Force and -Restart switches. &lt;/li&gt;
&lt;/ul&gt; &lt;br&gt;&lt;ul&gt;
&lt;li&gt;A bug in the reg file has been fixed - there was a space missing before /C &lt;/li&gt;
&lt;/ul&gt; &lt;br&gt;This is now &amp;quot;feature complete&amp;quot;. I'm aware there are still several places where functions should be able to accept an array or piped input can not do so.  I'm going to try to tidy-up those items and finalize the examples embedded in the script and move onto to documenting the code. &lt;br&gt; &lt;br&gt;Many thanks to the 700 people who downloaded the previous version. Because of the number of chnages I'd really value any feedback, bug reports etc. before declaring this to be the final version.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Tue, 26 Aug 2008 19:32:05 GMT</pubDate><guid isPermaLink="false">Released: 0.95a Beta (Aug 19, 2008) 20080826073205P</guid></item></channel></rss>