<?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: Managing Local Accounts through PowerShell</title>
	<atom:link href="http://www.powershell.nu/2009/07/06/managing-local-accounts-through-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershell.nu/2009/07/06/managing-local-accounts-through-powershell/</link>
	<description>Windows PowerShell</description>
	<lastBuildDate>Fri, 03 Feb 2012 09:00:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Fortunate</title>
		<link>http://www.powershell.nu/2009/07/06/managing-local-accounts-through-powershell/comment-page-1/#comment-9718</link>
		<dc:creator>Fortunate</dc:creator>
		<pubDate>Mon, 31 Oct 2011 10:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=775#comment-9718</guid>
		<description>$objOu = [ADSI]&quot;WinNT://$computer&quot;

$objUser = $objOU.Create(&quot;User&quot;, $user)

$objUser.setpassword($password)

$objUser.SetInfo()

$objUser.description = &quot;Test user&quot;

$objUser.SetInfo()</description>
		<content:encoded><![CDATA[<p>$objOu = [ADSI]&#8220;WinNT://$computer&#8221;</p>
<p>$objUser = $objOU.Create(&#8220;User&#8221;, $user)</p>
<p>$objUser.setpassword($password)</p>
<p>$objUser.SetInfo()</p>
<p>$objUser.description = &#8220;Test user&#8221;</p>
<p>$objUser.SetInfo()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fortunate</title>
		<link>http://www.powershell.nu/2009/07/06/managing-local-accounts-through-powershell/comment-page-1/#comment-9717</link>
		<dc:creator>Fortunate</dc:creator>
		<pubDate>Mon, 31 Oct 2011 10:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=775#comment-9717</guid>
		<description>Hi please assist me with below error:You cannot call a method on a null-value expression.
At C:\scripts\CreateUser.ps1:93 char:90
+&lt; &lt; .Create &gt;.SetPassword &gt;.SetInfo &lt;&lt;&lt;&lt; 
  + CategoryInfo          :InvalidOperation: [],RuntimeExpression
  + FullyQaulifiedErrorId :InvokeMethodOnNull

I an trying to create a user
( ( ([adsi] &quot;WinNT://$computer&quot;).Create(&quot;User&quot;, $user) ).SetPassword($password) ).SetInfo()</description>
		<content:encoded><![CDATA[<p>Hi please assist me with below error:You cannot call a method on a null-value expression.<br />
At C:\scripts\CreateUser.ps1:93 char:90<br />
+&lt; &lt; .Create &gt;.SetPassword &gt;.SetInfo &lt;&lt;&lt;&lt;<br />
  + CategoryInfo          :InvalidOperation: [],RuntimeExpression<br />
  + FullyQaulifiedErrorId :InvokeMethodOnNull</p>
<p>I an trying to create a user<br />
( ( ([adsi] &#8220;WinNT://$computer&#8221;).Create(&#8220;User&#8221;, $user) ).SetPassword($password) ).SetInfo()</p>
]]></content:encoded>
	</item>
</channel>
</rss>

