<?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 for PowerShell.nu</title>
	<atom:link href="http://www.powershell.nu/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershell.nu</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 15:41:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Comment on MOSS 2007 Script Collection by Sandeep</title>
		<link>http://www.powershell.nu/2009/09/08/moss-2007-script-collection/comment-page-1/#comment-4512</link>
		<dc:creator>Sandeep</dc:creator>
		<pubDate>Sat, 04 Sep 2010 15:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=857#comment-4512</guid>
		<description>Small correction on SPFolder, as it doesn&#039;t allow option to add sub-folders to document library..  
i.e. Folder in Folder in Folder


function Add-SPFolder([string]$url, [string]$List, [string]$FolderUrl,[string]$Name) {

	$OpenWeb = Get-SPWeb $url
	$OpenList = $OpenWeb.Lists[$List]

	if($FolderUrl -eq &quot;&quot;)
	{
		#$Folder = $OpenList.Folders.Add(&quot;http://sp2010/sites/client3/matter0/a&quot;,[Microsoft.SharePoint.SPFileSystemObjectType]::Folder,$Name)
		$Folder = $OpenList.Folders.Add(&quot;&quot;,[Microsoft.SharePoint.SPFileSystemObjectType]::Folder,$Name)
	}
	else 
	{	
		$Folder = $OpenList.Folders.Add(&quot;$url/$List$FolderUrl&quot;,[Microsoft.SharePoint.SPFileSystemObjectType]::Folder,$Name)
	}

	$Folder.Update()

	$OpenWeb.Dispose()
}</description>
		<content:encoded><![CDATA[<p>Small correction on SPFolder, as it doesn&#8217;t allow option to add sub-folders to document library..<br />
i.e. Folder in Folder in Folder</p>
<p>function Add-SPFolder([string]$url, [string]$List, [string]$FolderUrl,[string]$Name) {</p>
<p>	$OpenWeb = Get-SPWeb $url<br />
	$OpenList = $OpenWeb.Lists[$List]</p>
<p>	if($FolderUrl -eq &#8220;&#8221;)<br />
	{<br />
		#$Folder = $OpenList.Folders.Add(&#8220;http://sp2010/sites/client3/matter0/a&#8221;,[Microsoft.SharePoint.SPFileSystemObjectType]::Folder,$Name)<br />
		$Folder = $OpenList.Folders.Add(&#8220;&#8221;,[Microsoft.SharePoint.SPFileSystemObjectType]::Folder,$Name)<br />
	}<br />
	else<br />
	{<br />
		$Folder = $OpenList.Folders.Add(&#8220;$url/$List$FolderUrl&#8221;,[Microsoft.SharePoint.SPFileSystemObjectType]::Folder,$Name)<br />
	}</p>
<p>	$Folder.Update()</p>
<p>	$OpenWeb.Dispose()<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get-AD.ps1 by Niklas Goude</title>
		<link>http://www.powershell.nu/2009/02/27/get-adps1/comment-page-1/#comment-4471</link>
		<dc:creator>Niklas Goude</dc:creator>
		<pubDate>Thu, 19 Aug 2010 20:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=491#comment-4471</guid>
		<description>Hi, use the -Filter parameter to specify what you want to filter on; sn, givenName, sAMAccountName etc. (think its default set to cn).
here&#039;s an example:

PS &gt; $user = .\Get-AD.ps1 -Domain powershell.nu -User nigo -Filter sAMAccountName -ToObject
PS &gt; $user


distinguishedName : {CN=Niklas Goude,CN=Users,DC=POWERSHELL,DC=NU}
Path              : LDAP://CN=Niklas Goude,CN=Users,DC=POWERSHELL,DC=NU</description>
		<content:encoded><![CDATA[<p>Hi, use the -Filter parameter to specify what you want to filter on; sn, givenName, sAMAccountName etc. (think its default set to cn).<br />
here&#8217;s an example:</p>
<p>PS &gt; $user = .\Get-AD.ps1 -Domain powershell.nu -User nigo -Filter sAMAccountName -ToObject<br />
PS &gt; $user</p>
<p>distinguishedName : {CN=Niklas Goude,CN=Users,DC=POWERSHELL,DC=NU}<br />
Path              : LDAP://CN=Niklas Goude,CN=Users,DC=POWERSHELL,DC=NU</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Set Folder Permissions using a PowerShell script by Munib</title>
		<link>http://www.powershell.nu/2009/02/13/set-folder-permissions-using-a-powershell-script/comment-page-1/#comment-4441</link>
		<dc:creator>Munib</dc:creator>
		<pubDate>Tue, 10 Aug 2010 13:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=430#comment-4441</guid>
		<description>Hi,

I am new to poweshell scripting, i wanted to set the permissionss of local users/group remotely on some machines.

Just wanted to know whether the remore/target machine requires .net framwork for this script to work.

Thanks...Munib</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am new to poweshell scripting, i wanted to set the permissionss of local users/group remotely on some machines.</p>
<p>Just wanted to know whether the remore/target machine requires .net framwork for this script to work.</p>
<p>Thanks&#8230;Munib</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get-AD.ps1 by Reynaldo Bentancur</title>
		<link>http://www.powershell.nu/2009/02/27/get-adps1/comment-page-1/#comment-4438</link>
		<dc:creator>Reynaldo Bentancur</dc:creator>
		<pubDate>Mon, 09 Aug 2010 23:47:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=491#comment-4438</guid>
		<description>Oh sorry, I meant to post this earlier. I was running the script in this fashion.
$User1 = .\Get-AD.ps1 -Domain Domain -User rbentancur -ToObject

That is when I got the error above.</description>
		<content:encoded><![CDATA[<p>Oh sorry, I meant to post this earlier. I was running the script in this fashion.<br />
$User1 = .\Get-AD.ps1 -Domain Domain -User rbentancur -ToObject</p>
<p>That is when I got the error above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get-AD.ps1 by Reynaldo Bentancur</title>
		<link>http://www.powershell.nu/2009/02/27/get-adps1/comment-page-1/#comment-4437</link>
		<dc:creator>Reynaldo Bentancur</dc:creator>
		<pubDate>Mon, 09 Aug 2010 23:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=491#comment-4437</guid>
		<description>Very interesting read and nice script, but I have a problem running it. 
I get the error 
You cannot call a method on a null-valued expression.
At E:\PowershellScripts\get-ad.ps1:631 char:59
+             $SearchResult = ($Searcher.FindOne()).GetDirectoryEntry &lt;&lt;&lt;&lt; ()
    + CategoryInfo          : InvalidOperation: (GetDirectoryEntry:String) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Can you give me some help?</description>
		<content:encoded><![CDATA[<p>Very interesting read and nice script, but I have a problem running it.<br />
I get the error<br />
You cannot call a method on a null-valued expression.<br />
At E:\PowershellScripts\get-ad.ps1:631 char:59<br />
+             $SearchResult = ($Searcher.FindOne()).GetDirectoryEntry &lt;&lt;&lt;&lt; ()<br />
    + CategoryInfo          : InvalidOperation: (GetDirectoryEntry:String) [], RuntimeException<br />
    + FullyQualifiedErrorId : InvokeMethodOnNull</p>
<p>Can you give me some help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hiding a ListField in NewForm/EditForm in Sharepoint by Jimbo Alba</title>
		<link>http://www.powershell.nu/2009/01/13/hiding-a-listfield-in-newformeditform-in-sharepoint/comment-page-1/#comment-4425</link>
		<dc:creator>Jimbo Alba</dc:creator>
		<pubDate>Tue, 03 Aug 2010 07:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=290#comment-4425</guid>
		<description>Works great, thanks Niklas.  

I&#039;m having a list with 2 content types.  However, running the script it only applies to the default content type.  Do you know how to apply it to all content types on the list? Or maybe be able to select each content type and apply the script?</description>
		<content:encoded><![CDATA[<p>Works great, thanks Niklas.  </p>
<p>I&#8217;m having a list with 2 content types.  However, running the script it only applies to the default content type.  Do you know how to apply it to all content types on the list? Or maybe be able to select each content type and apply the script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SQL through PowerShell by Kevin</title>
		<link>http://www.powershell.nu/2009/01/26/sql-through-powershell/comment-page-1/#comment-4261</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Wed, 07 Jul 2010 21:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=379#comment-4261</guid>
		<description>&quot;If you use non-integrated authentiacation, you can add “userid=username;password=password;” to the connection string.&quot;
 userid is actually two words - user id   
http://www.connectionstrings.com/  seems like a good reference website for this type of thing.
Good article - thanks.</description>
		<content:encoded><![CDATA[<p>&#8220;If you use non-integrated authentiacation, you can add “userid=username;password=password;” to the connection string.&#8221;<br />
 userid is actually two words &#8211; user id<br />
<a href="http://www.connectionstrings.com/" rel="nofollow">http://www.connectionstrings.com/</a>  seems like a good reference website for this type of thing.<br />
Good article &#8211; thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SQL through PowerShell by Jonas</title>
		<link>http://www.powershell.nu/2009/01/26/sql-through-powershell/comment-page-1/#comment-4241</link>
		<dc:creator>Jonas</dc:creator>
		<pubDate>Mon, 05 Jul 2010 13:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=379#comment-4241</guid>
		<description>Would be good to add that you need to use &quot;MultipleActiveResultSets=True&quot; in the $Connection.ConnectionString =
&quot;server=Server;database=Northwind;trusted_connection=true;MultipleActiveResultSets=True&quot;.</description>
		<content:encoded><![CDATA[<p>Would be good to add that you need to use &#8220;MultipleActiveResultSets=True&#8221; in the $Connection.ConnectionString =<br />
&#8220;server=Server;database=Northwind;trusted_connection=true;MultipleActiveResultSets=True&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell MVP by Jeremy Thake</title>
		<link>http://www.powershell.nu/2010/07/04/powershell-mvp/comment-page-1/#comment-4239</link>
		<dc:creator>Jeremy Thake</dc:creator>
		<pubDate>Mon, 05 Jul 2010 10:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=1016#comment-4239</guid>
		<description>Well done mate! well deserved, your presentation was great at AU SPC and looking forward to reading that book your penning ;-)</description>
		<content:encoded><![CDATA[<p>Well done mate! well deserved, your presentation was great at AU SPC and looking forward to reading that book your penning <img src='http://www.powershell.nu/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell MVP by Shay Levy</title>
		<link>http://www.powershell.nu/2010/07/04/powershell-mvp/comment-page-1/#comment-4238</link>
		<dc:creator>Shay Levy</dc:creator>
		<pubDate>Mon, 05 Jul 2010 10:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=1016#comment-4238</guid>
		<description>Congratulations Niklas, well deserved!</description>
		<content:encoded><![CDATA[<p>Congratulations Niklas, well deserved!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
