<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Reconfigure for HA the PowerShell Way!</title> <atom:link href="http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/feed/" rel="self" type="application/rss+xml" /><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/</link> <description>How Many Turtles Can You Fit On A Rock?</description> <lastBuildDate>Fri, 10 Feb 2012 16:09:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: air force 1 shoes</title><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/comment-page-1/#comment-1663</link> <dc:creator>air force 1 shoes</dc:creator> <pubDate>Thu, 08 Jul 2010 09:03:00 +0000</pubDate> <guid
isPermaLink="false">http://professionalvmware.com/2009/06/23/reconfigure-for-ha-the-powershell-way/#comment-1663</guid> <description>Well , the view of the passage is totally correct ,your details is really  reasonable and  you guy give us  valuable  informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good &lt;a href=&quot;http://www.boots-store.co.uk&quot; &gt;ugg boots&lt;/a&gt;  information we can learn in this forum! </description> <content:encoded><![CDATA[<p>Well , the view of the passage is totally correct ,your details is really  reasonable and  you guy give us  valuable  informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good <a
href="http://www.boots-store.co.uk" >ugg boots</a> information we can learn in this forum!</p> ]]></content:encoded> </item> <item><title>By: Nike air force</title><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/comment-page-1/#comment-1664</link> <dc:creator>Nike air force</dc:creator> <pubDate>Thu, 08 Jul 2010 08:27:00 +0000</pubDate> <guid
isPermaLink="false">http://professionalvmware.com/2009/06/23/reconfigure-for-ha-the-powershell-way/#comment-1664</guid> <description>Well , the view of the passage is totally correct ,your details is really  reasonable and  you guy give us  valuable  informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good &lt;a href=&quot;http://www.boots-store.co.uk&quot; &gt;ugg boots&lt;/a&gt;  information we can learn in this forum! </description> <content:encoded><![CDATA[<p>Well , the view of the passage is totally correct ,your details is really  reasonable and  you guy give us  valuable  informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good <a
href="http://www.boots-store.co.uk" >ugg boots</a> information we can learn in this forum!</p> ]]></content:encoded> </item> <item><title>By: moncler outlet store</title><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/comment-page-1/#comment-1665</link> <dc:creator>moncler outlet store</dc:creator> <pubDate>Wed, 09 Jun 2010 01:48:00 +0000</pubDate> <guid
isPermaLink="false">http://professionalvmware.com/2009/06/23/reconfigure-for-ha-the-powershell-way/#comment-1665</guid> <description>Hhe article&#039;s content rich variety which make us move for our mood after reading this article. surprise, here  &lt;a href=&quot; http://music-ofthesun.com/ &quot; &gt;wslmart.net &lt;/a&gt; you will find what you want! Recently, I found some wedsites which commodity is colorful of fashion. Such as xxxxxxxx that worth you to see. Believe me these websites won’t let you down. </description> <content:encoded><![CDATA[<p>Hhe article&#8217;s content rich variety which make us move for our mood after reading this article. surprise, here <a
href=" <a href="http://music-ofthesun.com/" rel="nofollow">http://music-ofthesun.com/</a> &#8221; >wslmart.net  you will find what you want! Recently, I found some wedsites which commodity is colorful of fashion. Such as xxxxxxxx that worth you to see. Believe me these websites won’t let you down.</p> ]]></content:encoded> </item> <item><title>By: tiffany1111</title><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/comment-page-1/#comment-1092</link> <dc:creator>tiffany1111</dc:creator> <pubDate>Wed, 30 Dec 2009 14:10:34 +0000</pubDate> <guid
isPermaLink="false">http://professionalvmware.com/2009/06/23/reconfigure-for-ha-the-powershell-way/#comment-1092</guid> <description>&lt;a href=&quot;http://www.bestugg.info/sand-ugg-boots-5825-classic-short-p-84.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg 5825&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/sand-ugg-boots-5825-classic-short-p-84.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;uggs 5825&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg boots china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg boots from china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg boots in china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg boots made in china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg made in china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;uggs china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;uggs from china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;uggs in china&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;uggs made in china&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;grey ugg&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;grey ugg boot&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;grey ugg boots&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;grey uggs&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;grey uggs boots&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg classic grey&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg grey&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg grey boots&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ugg tall grey&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;uggs grey&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/mettlic-gold-ugg-boots-classic-tall-5812-p-102.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gold metallic ugg boots&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/ugg-classic-tall-boots-c-3.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;uggs tall&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.bestugg.info/light-pupre-ugg-classic-tall-boots-p-975.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;purple ugg boots&lt;/a&gt;</description> <content:encoded><![CDATA[<p><a
href="http://www.bestugg.info/sand-ugg-boots-5825-classic-short-p-84.html" target="_blank" rel="nofollow">ugg 5825</a><br
/><a
href="http://www.bestugg.info/sand-ugg-boots-5825-classic-short-p-84.html" target="_blank" rel="nofollow">uggs 5825</a></p><p><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">ugg boots china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">ugg boots from china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">ugg boots in china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">ugg boots made in china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">ugg china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">ugg made in china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">uggs china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">uggs from china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">uggs in china</a><br
/><a
href="http://www.bestugg.info/red-ugg-classic-tall-boots-p-976.html" target="_blank" rel="nofollow">uggs made in china</a></p><p><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">grey ugg</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">grey ugg boot</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">grey ugg boots</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">grey uggs</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">grey uggs boots</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">ugg classic grey</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">ugg grey</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">ugg grey boots</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">ugg tall grey</a><br
/><a
href="http://www.bestugg.info/grey-ugg-boots-5815-classic-tall-p-104.html" target="_blank" rel="nofollow">uggs grey</a></p><p><a
href="http://www.bestugg.info/mettlic-gold-ugg-boots-classic-tall-5812-p-102.html" target="_blank" rel="nofollow">gold metallic ugg boots</a></p><p><a
href="http://www.bestugg.info/ugg-classic-tall-boots-c-3.html" target="_blank" rel="nofollow">uggs tall</a></p><p><a
href="http://www.bestugg.info/light-pupre-ugg-classic-tall-boots-p-975.html" target="_blank" rel="nofollow">purple ugg boots</a></p> ]]></content:encoded> </item> <item><title>By: professionalvmware</title><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/comment-page-1/#comment-972</link> <dc:creator>professionalvmware</dc:creator> <pubDate>Thu, 15 Oct 2009 19:18:04 +0000</pubDate> <guid
isPermaLink="false">http://professionalvmware.com/2009/06/23/reconfigure-for-ha-the-powershell-way/#comment-972</guid> <description>Hello Josh,&lt;br&gt;&lt;br&gt;Take a look here:&lt;br&gt;&lt;a href=&quot;http://www.techotopia.com/index.php/Windows_PowerShell_1.0_Functions&quot; rel=&quot;nofollow&quot;&gt;http://www.techotopia.com/index.php/Windows_Pow...&lt;/a&gt;&lt;br&gt;That link is a pretty good primer for functions in PowerShell. Specifically&lt;br&gt;you&#039;ll want to look at the section beginning:&lt;br&gt;&lt;a href=&quot;http://www.techotopia.com/index.php/Windows_PowerShell_1.0_Functions#Using_Functions_in_a_Pipeline&quot; rel=&quot;nofollow&quot;&gt;http://www.techotopia.com/index.php/Windows_Pow...&lt;/a&gt;&lt;br&gt;&quot;Using Functions in a Pipeline&quot; or so.&lt;br&gt;&lt;br&gt;That should at least explain some things, and get you moving in the right&lt;br&gt;direction.</description> <content:encoded><![CDATA[<p>Hello Josh,</p><p>Take a look here:<br
/><a
href="http://www.techotopia.com/index.php/Windows_PowerShell_1.0_Functions" rel="nofollow">http://www.techotopia.com/index.php/Windows_Pow&#8230;</a><br
/>That link is a pretty good primer for functions in PowerShell. Specifically<br
/>you&#39;ll want to look at the section beginning:<br
/><a
href="http://www.techotopia.com/index.php/Windows_PowerShell_1.0_Functions#Using_Functions_in_a_Pipeline" rel="nofollow">http://www.techotopia.com/index.php/Windows_Pow&#8230;</a><br
/>&#8220;Using Functions in a Pipeline&#8221; or so.</p><p>That should at least explain some things, and get you moving in the right<br
/>direction.</p> ]]></content:encoded> </item> <item><title>By: Josh A</title><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/comment-page-1/#comment-971</link> <dc:creator>Josh A</dc:creator> <pubDate>Thu, 15 Oct 2009 18:20:48 +0000</pubDate> <guid
isPermaLink="false">http://professionalvmware.com/2009/06/23/reconfigure-for-ha-the-powershell-way/#comment-971</guid> <description>Thanks for the scripting here.  I&#039;m new to functions and processes in PowerShell and have been looking for a good reason to try them out.  I&#039;ve tried to modify this to be a function in a script I am writing but having an issue. I was hoping you may be able to see where I&#039;ve gone astray.&lt;br&gt;&lt;br&gt;function ReconfigureHA {&lt;br&gt;if ( $_ -isnot [VMware.VimAutomation.Client20.VMHostImpl] ) {&lt;br&gt;   Write-Error &quot;VMHost expected, skipping object in pipeline.&quot;&lt;br&gt;   continue&lt;br&gt;   }&lt;br&gt;   $vmhostView = $_ &#124; Get-View&lt;br&gt;$vmhostView.ReconfigureHostForDAS_Task()&lt;br&gt;}&lt;br&gt;&lt;br&gt;Get-VMHost -Name &quot;vm14&quot; &#124; ReconfigureHA&lt;br&gt;&lt;br&gt;I&#039;m using VESI for my IDE and I&#039;m able to get the Host object to display as $_ but when it Pipes to the function; $_ goes blank on me.  Based on what I&#039;ve read I&#039;ve appropriately defined the function before calling it (something I find slightly irritating even though I know this is a scripting and not programming language).  I was under the impression that the function would natively look for a passed object and not require setting parameters.&lt;br&gt;&lt;br&gt;I was able to successfully run the following which will work for my needs but curious as to why the function would not work.&lt;br&gt;&lt;br&gt;$vmhost = Get-VMHost -Name &quot;vm14&quot;&lt;br&gt;$vmhostView = $vmhost &#124; Get-View&lt;br&gt;$vmhostView.ReconfigureHostForDAS_Task()&lt;br&gt;&lt;br&gt;The second script here works fantastic thanks to your initial guidance and I&#039;m glad you took the time to post.  Any help would be appreciated on making my maiden function voyage successful</description> <content:encoded><![CDATA[<p>Thanks for the scripting here.  I&#39;m new to functions and processes in PowerShell and have been looking for a good reason to try them out.  I&#39;ve tried to modify this to be a function in a script I am writing but having an issue. I was hoping you may be able to see where I&#39;ve gone astray.</p><p>function ReconfigureHA {<br
/>if ( $_ -isnot [VMware.VimAutomation.Client20.VMHostImpl] ) {<br
/> Write-Error &#8220;VMHost expected, skipping object in pipeline.&#8221;<br
/> continue<br
/> }<br
/> $vmhostView = $_ | Get-View<br
/>$vmhostView.ReconfigureHostForDAS_Task()<br
/>}</p><p>Get-VMHost -Name &#8220;vm14&#8243; | ReconfigureHA</p><p>I&#39;m using VESI for my IDE and I&#39;m able to get the Host object to display as $_ but when it Pipes to the function; $_ goes blank on me.  Based on what I&#39;ve read I&#39;ve appropriately defined the function before calling it (something I find slightly irritating even though I know this is a scripting and not programming language).  I was under the impression that the function would natively look for a passed object and not require setting parameters.</p><p>I was able to successfully run the following which will work for my needs but curious as to why the function would not work.</p><p>$vmhost = Get-VMHost -Name &#8220;vm14&#8243;<br
/>$vmhostView = $vmhost | Get-View<br
/>$vmhostView.ReconfigureHostForDAS_Task()</p><p>The second script here works fantastic thanks to your initial guidance and I&#39;m glad you took the time to post.  Any help would be appreciated on making my maiden function voyage successful</p> ]]></content:encoded> </item> <item><title>By: professionalvmware</title><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/comment-page-1/#comment-727</link> <dc:creator>professionalvmware</dc:creator> <pubDate>Thu, 15 Oct 2009 14:18:04 +0000</pubDate> <guid
isPermaLink="false">http://professionalvmware.com/2009/06/23/reconfigure-for-ha-the-powershell-way/#comment-727</guid> <description>Hello Josh,&lt;br&gt;&lt;br&gt;Take a look here:&lt;br&gt;&lt;a href=&quot;http://www.techotopia.com/index.php/Windows_PowerShell_1.0_Functions&quot; rel=&quot;nofollow&quot;&gt;http://www.techotopia.com/index.php/Windows_Pow...&lt;/a&gt;&lt;br&gt;That link is a pretty good primer for functions in PowerShell. Specifically&lt;br&gt;you&#039;ll want to look at the section beginning:&lt;br&gt;&lt;a href=&quot;http://www.techotopia.com/index.php/Windows_PowerShell_1.0_Functions#Using_Functions_in_a_Pipeline&quot; rel=&quot;nofollow&quot;&gt;http://www.techotopia.com/index.php/Windows_Pow...&lt;/a&gt;&lt;br&gt;&quot;Using Functions in a Pipeline&quot; or so.&lt;br&gt;&lt;br&gt;That should at least explain some things, and get you moving in the right&lt;br&gt;direction.</description> <content:encoded><![CDATA[<p>Hello Josh,</p><p>Take a look here:<br
/><a
href="http://www.techotopia.com/index.php/Windows_PowerShell_1.0_Functions" rel="nofollow">http://www.techotopia.com/index.php/Windows_Pow&#8230;</a><br
/>That link is a pretty good primer for functions in PowerShell. Specifically<br
/>you&#39;ll want to look at the section beginning:<br
/><a
href="http://www.techotopia.com/index.php/Windows_PowerShell_1.0_Functions#Using_Functions_in_a_Pipeline" rel="nofollow">http://www.techotopia.com/index.php/Windows_Pow&#8230;</a><br
/>&#8220;Using Functions in a Pipeline&#8221; or so.</p><p>That should at least explain some things, and get you moving in the right<br
/>direction.</p> ]]></content:encoded> </item> <item><title>By: JoshA</title><link>http://professionalvmware.com/2009/06/reconfigure-for-ha-the-powershell-way/comment-page-1/#comment-726</link> <dc:creator>JoshA</dc:creator> <pubDate>Thu, 15 Oct 2009 13:20:48 +0000</pubDate> <guid
isPermaLink="false">http://professionalvmware.com/2009/06/23/reconfigure-for-ha-the-powershell-way/#comment-726</guid> <description>Thanks for the scripting here.  I&#039;m new to functions and processes in PowerShell and have been looking for a good reason to try them out.  I&#039;ve tried to modify this to be a function in a script I am writing but having an issue. I was hoping you may be able to see where I&#039;ve gone astray.&lt;br&gt;&lt;br&gt;function ReconfigureHA {&lt;br&gt;if ( $_ -isnot [VMware.VimAutomation.Client20.VMHostImpl] ) {&lt;br&gt;   Write-Error &quot;VMHost expected, skipping object in pipeline.&quot;&lt;br&gt;   continue&lt;br&gt;   }&lt;br&gt;   $vmhostView = $_ &#124; Get-View&lt;br&gt;$vmhostView.ReconfigureHostForDAS_Task()&lt;br&gt;}&lt;br&gt;&lt;br&gt;Get-VMHost -Name &quot;vm14&quot; &#124; ReconfigureHA&lt;br&gt;&lt;br&gt;I&#039;m using VESI for my IDE and I&#039;m able to get the Host object to display as $_ but when it Pipes to the function; $_ goes blank on me.  Based on what I&#039;ve read I&#039;ve appropriately defined the function before calling it (something I find slightly irritating even though I know this is a scripting and not programming language).  I was under the impression that the function would natively look for a passed object and not require setting parameters.&lt;br&gt;&lt;br&gt;I was able to successfully run the following which will work for my needs but curious as to why the function would not work.&lt;br&gt;&lt;br&gt;$vmhost = Get-VMHost -Name &quot;vm14&quot;&lt;br&gt;$vmhostView = $vmhost &#124; Get-View&lt;br&gt;$vmhostView.ReconfigureHostForDAS_Task()&lt;br&gt;&lt;br&gt;The second script here works fantastic thanks to your initial guidance and I&#039;m glad you took the time to post.  Any help would be appreciated on making my maiden function voyage successful</description> <content:encoded><![CDATA[<p>Thanks for the scripting here.  I&#39;m new to functions and processes in PowerShell and have been looking for a good reason to try them out.  I&#39;ve tried to modify this to be a function in a script I am writing but having an issue. I was hoping you may be able to see where I&#39;ve gone astray.</p><p>function ReconfigureHA {<br
/>if ( $_ -isnot [VMware.VimAutomation.Client20.VMHostImpl] ) {<br
/> Write-Error &#8220;VMHost expected, skipping object in pipeline.&#8221;<br
/> continue<br
/> }<br
/> $vmhostView = $_ | Get-View<br
/>$vmhostView.ReconfigureHostForDAS_Task()<br
/>}</p><p>Get-VMHost -Name &#8220;vm14&#8243; | ReconfigureHA</p><p>I&#39;m using VESI for my IDE and I&#39;m able to get the Host object to display as $_ but when it Pipes to the function; $_ goes blank on me.  Based on what I&#39;ve read I&#39;ve appropriately defined the function before calling it (something I find slightly irritating even though I know this is a scripting and not programming language).  I was under the impression that the function would natively look for a passed object and not require setting parameters.</p><p>I was able to successfully run the following which will work for my needs but curious as to why the function would not work.</p><p>$vmhost = Get-VMHost -Name &#8220;vm14&#8243;<br
/>$vmhostView = $vmhost | Get-View<br
/>$vmhostView.ReconfigureHostForDAS_Task()</p><p>The second script here works fantastic thanks to your initial guidance and I&#39;m glad you took the time to post.  Any help would be appreciated on making my maiden function voyage successful</p> ]]></content:encoded> </item> </channel> </rss>
