<?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"
	>
<channel>
	<title>Comments for pshell.info</title>
	<atom:link href="http://pshell.info/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://pshell.info</link>
	<description>PowerShell for Everyone</description>
	<pubDate>Fri, 21 Nov 2008 02:23:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>Comment on Uploading files to SharePoint Revisited by Alexey</title>
		<link>http://pshell.info/sharepoint/189/uploading-files-to-sharepoint-revisited/#comment-3969</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Sun, 04 May 2008 07:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/sharepoint/189/uploading-files-to-sharepoint-revisited/#comment-3969</guid>
		<description>OpenRead is way more memory efficient in my recent experience. thanks for the hint.</description>
		<content:encoded><![CDATA[<p>OpenRead is way more memory efficient in my recent experience. thanks for the hint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Uploading files to SharePoint Revisited by Alexey</title>
		<link>http://pshell.info/sharepoint/189/uploading-files-to-sharepoint-revisited/#comment-2974</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Mon, 21 Apr 2008 03:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/sharepoint/189/uploading-files-to-sharepoint-revisited/#comment-2974</guid>
		<description>I finally resorted to 
			$my_filestream=[io.file]::ReadAllBytes($my_filename)

Do you think OpenRead is better?</description>
		<content:encoded><![CDATA[<p>I finally resorted to<br />
			$my_filestream=[io.file]::ReadAllBytes($my_filename)</p>
<p>Do you think OpenRead is better?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint, PowerShell and XML by SharePoint Thinks, Links and Clinks</title>
		<link>http://pshell.info/basics/142/sharepoint-powershell-and-xml/#comment-1186</link>
		<dc:creator>SharePoint Thinks, Links and Clinks</dc:creator>
		<pubDate>Tue, 01 Apr 2008 16:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/?p=142#comment-1186</guid>
		<description>&lt;strong&gt;STSADM Command References...&lt;/strong&gt;

Quick Outline for more detailed items on STSADM, especially with PowerShell goodness TechNet Powerful...</description>
		<content:encoded><![CDATA[<p><strong>STSADM Command References&#8230;</strong></p>
<p>Quick Outline for more detailed items on STSADM, especially with PowerShell goodness TechNet Powerful&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Uploading Documents To SharePoint by pshell.info / Uploading files to SharePoint Revisited</title>
		<link>http://pshell.info/sharepoint/166/uploading-documents-to-sharepoint/#comment-782</link>
		<dc:creator>pshell.info / Uploading files to SharePoint Revisited</dc:creator>
		<pubDate>Sun, 09 Mar 2008 19:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/sharepoint/166/uploading-documents-to-sharepoint/#comment-782</guid>
		<description>[...] a long time ago I blogged about uploading files to SharePoint using PowerShell (see original article). That script used the get-content cmdlet and is very slow. The script below should work better as [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] a long time ago I blogged about uploading files to SharePoint using PowerShell (see original article). That script used the get-content cmdlet and is very slow. The script below should work better as [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Uploading Documents To SharePoint by Alexey</title>
		<link>http://pshell.info/sharepoint/166/uploading-documents-to-sharepoint/#comment-677</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Thu, 07 Feb 2008 07:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/sharepoint/166/uploading-documents-to-sharepoint/#comment-677</guid>
		<description>A nice example, but it works some 10-60 times slower than WebDAV drag &#38; drop (16 KB/sec local %windir%\system32\LogFiles upload - about 280 KB each). Any ideas as to how we can improve performance?</description>
		<content:encoded><![CDATA[<p>A nice example, but it works some 10-60 times slower than WebDAV drag &amp; drop (16 KB/sec local %windir%\system32\LogFiles upload - about 280 KB each). Any ideas as to how we can improve performance?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint, PowerShell and XML by Fred Morrison</title>
		<link>http://pshell.info/basics/142/sharepoint-powershell-and-xml/#comment-663</link>
		<dc:creator>Fred Morrison</dc:creator>
		<pubDate>Tue, 20 Nov 2007 14:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/?p=142#comment-663</guid>
		<description>To get stsadm to work in PowerShell, I had to add the following to profile.ps1, located in directory C:\WINDOWS\system32\windowspowershell\v1.0\.

Set-Alias -Name stsadm -Value $env:CommonProgramFiles"\Microsoft Shared\Web Server Extensions\12\BIN\STSADM.EXE"

Hope this helps others struggling with the same error.</description>
		<content:encoded><![CDATA[<p>To get stsadm to work in PowerShell, I had to add the following to profile.ps1, located in directory C:\WINDOWS\system32\windowspowershell\v1.0\.</p>
<p>Set-Alias -Name stsadm -Value $env:CommonProgramFiles&#8221;\Microsoft Shared\Web Server Extensions\12\BIN\STSADM.EXE&#8221;</p>
<p>Hope this helps others struggling with the same error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell script to check ESX patch status by James Kamienski</title>
		<link>http://pshell.info/vmware/171/powershell-script-to-check-esx-patch-status/#comment-662</link>
		<dc:creator>James Kamienski</dc:creator>
		<pubDate>Mon, 19 Nov 2007 22:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/basics/171/powershell-script-to-check-esx-patch-status/#comment-662</guid>
		<description>Oops! A little too quick on the draw...

You also need to add this so it decrypts the password back so it can be used with plink.exe

Below this line:

$password = Read-Host -assecurestring â€œEnter root passwordâ€

Add these:

$Ptr=[System.Runtime.InteropServices.Marshal]::SecureStringToCoTaskMemUnicode($password)
$password = [System.Runtime.InteropServices.Marshal]::PtrToStringUni($Ptr)

Now it should all work....

*8)</description>
		<content:encoded><![CDATA[<p>Oops! A little too quick on the draw&#8230;</p>
<p>You also need to add this so it decrypts the password back so it can be used with plink.exe</p>
<p>Below this line:</p>
<p>$password = Read-Host -assecurestring â€œEnter root passwordâ€</p>
<p>Add these:</p>
<p>$Ptr=[System.Runtime.InteropServices.Marshal]::SecureStringToCoTaskMemUnicode($password)<br />
$password = [System.Runtime.InteropServices.Marshal]::PtrToStringUni($Ptr)</p>
<p>Now it should all work&#8230;.</p>
<p>*8)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell script to check ESX patch status by James Kamienski</title>
		<link>http://pshell.info/vmware/171/powershell-script-to-check-esx-patch-status/#comment-661</link>
		<dc:creator>James Kamienski</dc:creator>
		<pubDate>Mon, 19 Nov 2007 21:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/basics/171/powershell-script-to-check-esx-patch-status/#comment-661</guid>
		<description>A quick suggestion...

Put this line at the top of the script....

$password = Read-Host -assecurestring "Enter root password"

and remove this one...

$password=â€passwordâ€

This way you will be prompted for a password won't have a text file sitting out there with your root password! *8)</description>
		<content:encoded><![CDATA[<p>A quick suggestion&#8230;</p>
<p>Put this line at the top of the script&#8230;.</p>
<p>$password = Read-Host -assecurestring &#8220;Enter root password&#8221;</p>
<p>and remove this one&#8230;</p>
<p>$password=â€passwordâ€</p>
<p>This way you will be prompted for a password won&#8217;t have a text file sitting out there with your root password! *8)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint, PowerShell and XML by admin</title>
		<link>http://pshell.info/basics/142/sharepoint-powershell-and-xml/#comment-654</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 05 Nov 2007 22:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/?p=142#comment-654</guid>
		<description>Fred,

It should work without doing anything special. I also have the path where stsadm.exe is in my system path variable. But that's it. And that's on a plain install of SharePoint with PowerShell added. Nothing else....</description>
		<content:encoded><![CDATA[<p>Fred,</p>
<p>It should work without doing anything special. I also have the path where stsadm.exe is in my system path variable. But that&#8217;s it. And that&#8217;s on a plain install of SharePoint with PowerShell added. Nothing else&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint, PowerShell and XML by Fred Morrison</title>
		<link>http://pshell.info/basics/142/sharepoint-powershell-and-xml/#comment-653</link>
		<dc:creator>Fred Morrison</dc:creator>
		<pubDate>Mon, 05 Nov 2007 19:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://pshell.info/?p=142#comment-653</guid>
		<description>Can't run stsadm in PowerShell.  When I try running STSADM.EXE from within PowerShell, as shown in your example, I get an error:
The term 'stsadm.exe' is not recognized ....

I had previously issued a cd 'C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN' to make sure I was in the correct directory.

What else needs to be done to allow direct execution of stsadm.exe from within PowerShell?</description>
		<content:encoded><![CDATA[<p>Can&#8217;t run stsadm in PowerShell.  When I try running STSADM.EXE from within PowerShell, as shown in your example, I get an error:<br />
The term &#8217;stsadm.exe&#8217; is not recognized &#8230;.</p>
<p>I had previously issued a cd &#8216;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&#8217; to make sure I was in the correct directory.</p>
<p>What else needs to be done to allow direct execution of stsadm.exe from within PowerShell?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
