<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hey, Scripting Guy! Part 2: How Can I Update Many Office Word Documents at Once?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2009/10/22/hey-scripting-guy-october-22-2009.aspx</link><description>( Editor's note : This is part 2 of a two-part article originally intended for TechNet Magazine . Part 1 was published yesterday .) 
 Now we arrive at the entry point to the script. The first thing to do in the entry point of the script is to create</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Hey, Scripting Guy! Part 2: How Can I Update Many Office Word Documents at Once?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2009/10/22/hey-scripting-guy-october-22-2009.aspx#3369294</link><pubDate>Wed, 17 Nov 2010 15:44:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3369294</guid><dc:creator>gedron</dc:creator><description>&lt;p&gt;Turns out the issue is with the Word files having protection enabled to only allow form fields to be filled in. Looking for PowerShell code to disable then re-enable that feature. Any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-Thomas&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3369294" width="1" height="1"&gt;</description></item><item><title>re: Hey, Scripting Guy! Part 2: How Can I Update Many Office Word Documents at Once?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2009/10/22/hey-scripting-guy-october-22-2009.aspx#3369032</link><pubDate>Tue, 16 Nov 2010 22:19:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3369032</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;I am trying to get this code to work for a search and replace task on a directory full of Word Docs, however, my Win7/Office 2007 system doesn&amp;#39;t seem to like the code concerning the Find.Execute method.&lt;/p&gt;
&lt;p&gt;Every time I run the script I get the following &amp;quot;command not available&amp;quot; error.&lt;/p&gt;
&lt;p&gt;####&lt;/p&gt;
&lt;p&gt;Exception calling &amp;quot;Execute&amp;quot; with &amp;quot;11&amp;quot; argument(s): &amp;quot;This command is not available.&amp;quot;&lt;/p&gt;
&lt;p&gt;At C:\test\replace.ps1:65 char:40&lt;/p&gt;
&lt;p&gt;+ &amp;nbsp; $rtn = $Script:Selection.Find.Execute &amp;lt;&amp;lt;&amp;lt;&amp;lt; ($FindText,$MatchCase,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ CategoryInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: NotSpecified: (:) [], MethodInvocationException&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ FullyQualifiedErrorId : ComMethodTargetInvocation&lt;/p&gt;
&lt;p&gt;###&lt;/p&gt;
&lt;p&gt;I&amp;#39;m at a loss as to why it isn&amp;#39;t working, and I&amp;#39;m wondering if it has to do with a change in PowerShell from v1 to v2? Can anyone help?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-Thomas&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3369032" width="1" height="1"&gt;</description></item></channel></rss>