<?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: Change the root password in hosts and Host Profiles	</title>
	<atom:link href="https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/</link>
	<description>My PowerShell ramblings</description>
	<lastBuildDate>Wed, 14 Dec 2022 22:21:33 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.10</generator>
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>
		By: NateC		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-20447</link>

		<dc:creator><![CDATA[NateC]]></dc:creator>
		<pubDate>Wed, 14 Dec 2022 22:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-20447</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-20446&quot;&gt;LucD&lt;/a&gt;.

Ty for the update, bummer as we have many Profiles to update.]]></description>
			<content:encoded><![CDATA[<p>Ty for the update, bummer as we have many Profiles to update.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: LucD		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-20446</link>

		<dc:creator><![CDATA[LucD]]></dc:creator>
		<pubDate>Wed, 14 Dec 2022 21:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-20446</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-20445&quot;&gt;NateC&lt;/a&gt;.

Hi Nate,
I&#039;m afraid not.
The structure of the HostProfile is undocumented afaik.
I found the solution in this post via some reverse engineering, but it doesn&#039;t seem to work anymore in more recent releases.]]></description>
			<content:encoded><![CDATA[<p>Hi Nate,<br />
I&#8217;m afraid not.<br />
The structure of the HostProfile is undocumented afaik.<br />
I found the solution in this post via some reverse engineering, but it doesn&#8217;t seem to work anymore in more recent releases.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: NateC		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-20445</link>

		<dc:creator><![CDATA[NateC]]></dc:creator>
		<pubDate>Wed, 14 Dec 2022 20:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-20445</guid>

					<description><![CDATA[Hi LucD,

Any update on using the host profile script to update password for Versions 6.7 and 7? 

Thanks,

Nate]]></description>
			<content:encoded><![CDATA[<p>Hi LucD,</p>
<p>Any update on using the host profile script to update password for Versions 6.7 and 7? </p>
<p>Thanks,</p>
<p>Nate</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: LucD		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-8121</link>

		<dc:creator><![CDATA[LucD]]></dc:creator>
		<pubDate>Fri, 03 Sep 2021 17:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-8121</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-8119&quot;&gt;Dan&lt;/a&gt;.

That is correct, CodeCapture leaves out all private methods and data.

The version I published worked for that specific vSphere version.
It took some reverse engineering to find out how it could be done.

And I haven&#039;t looked if something similar is possible in more recent vSphere versions.
Luc]]></description>
			<content:encoded><![CDATA[<p>That is correct, CodeCapture leaves out all private methods and data.</p>
<p>The version I published worked for that specific vSphere version.<br />
It took some reverse engineering to find out how it could be done.</p>
<p>And I haven&#8217;t looked if something similar is possible in more recent vSphere versions.<br />
Luc</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-8119</link>

		<dc:creator><![CDATA[Dan]]></dc:creator>
		<pubDate>Fri, 03 Sep 2021 17:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-8119</guid>

					<description><![CDATA[LucD - I tried using VMware&#039;s code capture to pull the necessary code to update a test host profile root password and it appears they purposefully leave out the password portion of the code.  Do you have any tips on how to accomplish this now that your code is obsolete?  I&#039;m trying to create a script to automate root password changes in our environment which includes 30+ host profiles.]]></description>
			<content:encoded><![CDATA[<p>LucD &#8211; I tried using VMware&#8217;s code capture to pull the necessary code to update a test host profile root password and it appears they purposefully leave out the password portion of the code.  Do you have any tips on how to accomplish this now that your code is obsolete?  I&#8217;m trying to create a script to automate root password changes in our environment which includes 30+ host profiles.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-8112</link>

		<dc:creator><![CDATA[Dan]]></dc:creator>
		<pubDate>Thu, 02 Sep 2021 17:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-8112</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-4857&quot;&gt;Jessie Rogers&lt;/a&gt;.

I&#039;m wondering the same thing!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m wondering the same thing!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jessie Rogers		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-4857</link>

		<dc:creator><![CDATA[Jessie Rogers]]></dc:creator>
		<pubDate>Thu, 04 Jun 2020 20:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-4857</guid>

					<description><![CDATA[@LUCD

Just curious if you have had a chance to circle back to this with regards to a 6.7 Host Profile.  Here is the error I am getting.  I see that they did in fact change the objects behind the host profile and it appears that the objects stop at Security as shown in my error.

Exception setting &quot;Security&quot;: &quot;Cannot convert the &quot;System.Object[]&quot; value of type &quot;System.Object[]&quot; to type &quot;VMware.Vim.SecurityProfile&quot;.&quot;
At line:1 char:1
+ $pwordspec.ApplyProfile.Security = @($secpol)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], SetValueInvocationException
    + FullyQualifiedErrorId : ExceptionWhenSetting]]></description>
			<content:encoded><![CDATA[<p>@LUCD</p>
<p>Just curious if you have had a chance to circle back to this with regards to a 6.7 Host Profile.  Here is the error I am getting.  I see that they did in fact change the objects behind the host profile and it appears that the objects stop at Security as shown in my error.</p>
<p>Exception setting &#8220;Security&#8221;: &#8220;Cannot convert the &#8220;System.Object[]&#8221; value of type &#8220;System.Object[]&#8221; to type &#8220;VMware.Vim.SecurityProfile&#8221;.&#8221;<br />
At line:1 char:1<br />
+ $pwordspec.ApplyProfile.Security = @($secpol)<br />
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
    + CategoryInfo          : NotSpecified: (:) [], SetValueInvocationException<br />
    + FullyQualifiedErrorId : ExceptionWhenSetting</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: marui		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-4728</link>

		<dc:creator><![CDATA[marui]]></dc:creator>
		<pubDate>Wed, 13 Nov 2019 01:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-4728</guid>

					<description><![CDATA[thank you!]]></description>
			<content:encoded><![CDATA[<p>thank you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: LucD		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-4725</link>

		<dc:creator><![CDATA[LucD]]></dc:creator>
		<pubDate>Tue, 12 Nov 2019 14:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-4725</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-4722&quot;&gt;Kane&lt;/a&gt;.

I&#039;m afraid they changed the objects behind HostProfiles.
They can do that because these objects are not really documented, and my method was based on reverse engineering.

I&#039;ll see if I can do the same for the latest version.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m afraid they changed the objects behind HostProfiles.<br />
They can do that because these objects are not really documented, and my method was based on reverse engineering.</p>
<p>I&#8217;ll see if I can do the same for the latest version.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: LucD		</title>
		<link>https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-4724</link>

		<dc:creator><![CDATA[LucD]]></dc:creator>
		<pubDate>Tue, 12 Nov 2019 14:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=3846#comment-4724</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.lucd.info/2012/01/15/change-theroot-password-in-hosts-and-host-profiles/#comment-4723&quot;&gt;marui&lt;/a&gt;.

Sorry, but I don&#039;t do Java, nor do I know anything about using the APIs from Java.]]></description>
			<content:encoded><![CDATA[<p>Sorry, but I don&#8217;t do Java, nor do I know anything about using the APIs from Java.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
