<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS 7.0  - PowerShell</title><link>http://forums.iis.net/1151.aspx</link><description>All about IIS 7.0 PowerShell integration. Use this forum to ask PowerShell questions, discuss issues, request features and yell at IIS team members.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: PowerShell to include file?</title><link>http://forums.iis.net/thread/1903277.aspx</link><pubDate>Sun, 10 May 2009 13:13:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903277</guid><dc:creator>rsiddaw</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903277.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1151&amp;PostID=1903277</wfw:commentRss><description>&lt;p&gt;Have you checked if the convertto-html cmdlet works on this.&lt;/p&gt;
&lt;p&gt;there is no equivalent of the&amp;nbsp;&amp;nbsp;&amp;lt;--#include file src=””&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: PowerShell to include file?</title><link>http://forums.iis.net/thread/1903076.aspx</link><pubDate>Fri, 08 May 2009 00:44:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903076</guid><dc:creator>steve schofield</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903076.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1151&amp;PostID=1903076</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not sure you would use powershell to achieve this either.&amp;nbsp;&amp;nbsp; What is calling the powershell script?&amp;nbsp;&amp;nbsp; If it&amp;#39;s a webpage, powershell is a command line scripting tool, not something from a webpage.&amp;nbsp;&amp;nbsp; I would check a sharepoint newsgroup to get further assistance how to include files.&amp;nbsp; Most likely, it&amp;#39;ll be with a ASCX file.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.powershell"&gt;http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.powershell&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.technet.microsoft.com/Forums/en-us/categories/"&gt;http://social.technet.microsoft.com/Forums/en-us/categories/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>PowerShell to include file?</title><link>http://forums.iis.net/thread/1902862.aspx</link><pubDate>Wed, 06 May 2009 06:54:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902862</guid><dc:creator>teenne</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902862.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1151&amp;PostID=1902862</wfw:commentRss><description>&lt;p&gt;I am new to PowerShell and have a problem that I think PowerShell can solve for me, but I do not know how to start. &lt;/p&gt;
&lt;p&gt;What I want is to use PowerShell to do exactly what the &amp;lt;--#include file src=””&amp;gt; does. &lt;/p&gt;
&lt;p&gt;The ”include file” does not work in SharePoint and I want to re-use some HTML-code in multiple sites to save time. &lt;/p&gt;
&lt;p&gt;In other words: I want PowerShell to read a file and print the output to a webpage. Dows anyone have a tips for me how I can do this? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>