<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx</link><description>I spend a lot of my time in the command line (surprised?). That said, I also spend a lot of time surfing the web. Here is a script that I wrote that lets me surf the web from PowerShell: UrlTemplateMap = @{ "bs" = "http://blogsearch.google.com/blogsearch?hl=en&amp;amp;q={0}&amp;amp;ie=UTF-8&amp;amp;scoring=d"</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#3546487</link><pubDate>Tue, 26 Jun 2007 17:21:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3546487</guid><dc:creator>Ludvik</dc:creator><description>&lt;p&gt;Looks like that UrlTemplateMap doesn't work because I get the term 'UrlTemplateMap' is not recognized... so the shortwords dont work. &lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#3546619</link><pubDate>Tue, 26 Jun 2007 17:34:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3546619</guid><dc:creator>Ed Fancher</dc:creator><description>&lt;p&gt;Would you mind showing an example of how you might use powershell with mshtml?&lt;/p&gt;
&lt;p&gt;Maybe navigate to search.live.com and fill in the search box and click ok?&lt;/p&gt;
&lt;p&gt;Ed.&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#3553739</link><pubDate>Wed, 27 Jun 2007 00:57:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3553739</guid><dc:creator>karl prosser</dc:creator><description>&lt;p&gt;hmm is there a way to specify different urls for different tabs in a new browser?&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#3555010</link><pubDate>Wed, 27 Jun 2007 02:13:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3555010</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;Ed:&lt;/p&gt;
&lt;p&gt;The .NET Framework offers great support for HTTP scripting. See: &lt;a rel="nofollow" target="_new" href="http://www.leeholmes.com/blog/AdvancedHTTPASPNetScriptingWithPowerShell.aspx"&gt;http://www.leeholmes.com/blog/AdvancedHTTPASPNetScriptingWithPowerShell.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lee&lt;/p&gt;
</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#3567148</link><pubDate>Wed, 27 Jun 2007 19:43:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3567148</guid><dc:creator>Marco Shaw</dc:creator><description>&lt;p&gt;Ed:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blog.sapien.com/current/2007/5/7/live-search-in-windows-powershell.html"&gt;http://blog.sapien.com/current/2007/5/7/live-search-in-windows-powershell.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#3584135</link><pubDate>Thu, 28 Jun 2007 16:14:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3584135</guid><dc:creator>Marco Shaw</dc:creator><description>&lt;p&gt;Karl:&lt;/p&gt;
&lt;p&gt;$ie=new-object -com internetexplorer.application&lt;/p&gt;
&lt;p&gt;$ie.visible=$true&lt;/p&gt;
&lt;p&gt;$ie.navigate($url1)&lt;/p&gt;
&lt;p&gt;$ie.navigate($url2,0x0800)&lt;/p&gt;
&lt;p&gt;&amp;quot;0x0800&amp;quot; will cause a new tab to open for $url2.&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#3584418</link><pubDate>Thu, 28 Jun 2007 16:42:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3584418</guid><dc:creator>Marco Shaw</dc:creator><description>&lt;p&gt;Karl,&lt;/p&gt;
&lt;p&gt;I just noticed that Jeff had something to open pages in different tabs.&lt;/p&gt;
&lt;p&gt;What exactly were you looking for? &amp;nbsp;To open pages in *specific* tabs like tab #1, #2, etc.?&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#4236347</link><pubDate>Sun, 05 Aug 2007 08:41:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4236347</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I made a slight improvement to your script by using favorites in a PSLinks favorites folder to define the mapping instead of a hashtable. &amp;nbsp;See: &lt;a rel="nofollow" target="_new" href="http://www.thehubbards.org/blog/2007/08/05/surfing-the-web-the-powershell-way/"&gt;http://www.thehubbards.org/blog/2007/08/05/surfing-the-web-the-powershell-way/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#4654736</link><pubDate>Fri, 31 Aug 2007 00:32:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4654736</guid><dc:creator>maheshvd</dc:creator><description>&lt;p&gt;Is there any way to click urls, buttons, assign values to textboxes etc in a web form?&lt;/p&gt;
&lt;p&gt;I saw somewhere to assign values to test boxes, [get-inputElement $ie 'TextBox1'] is used. what if there is no id to the control? how to locate it. Does powershell support accessing controls via DOM?&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#7335577</link><pubDate>Thu, 31 Jan 2008 02:09:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7335577</guid><dc:creator>BobC</dc:creator><description>&lt;p&gt;I'll be using this as a method of keeping my IIS/.net sites warm, so users won't get the initial compile hit.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#8381708</link><pubDate>Fri, 11 Apr 2008 22:19:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8381708</guid><dc:creator>Jay</dc:creator><description>&lt;p&gt;I just went to use it and found &lt;/p&gt;
&lt;p&gt;the 1st line needs the $&lt;/p&gt;
&lt;p&gt;UrlTemplateMap = @{&lt;/p&gt;
&lt;p&gt;vs&lt;/p&gt;
&lt;p&gt;$UrlTemplateMap = @{&lt;/p&gt;
&lt;p&gt;to work:)&lt;/p&gt;</description></item><item><title>re: Surfing the Web the PowerShell Way</title><link>http://blogs.msdn.com/powershell/archive/2007/06/26/surfing-the-web-the-powershell-way.aspx#9017538</link><pubDate>Mon, 27 Oct 2008 08:33:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9017538</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am researching powershell&lt;/p&gt;
&lt;p&gt;I need to do the following things. I want to know whether I can do it by powershell.&lt;/p&gt;
&lt;p&gt;task:&lt;/p&gt;
&lt;p&gt;1. access a website: &lt;a rel="nofollow" target="_new" href="http://website/"&gt;http://website/&lt;/a&gt;****.aspx&lt;/p&gt;
&lt;p&gt;2. the website will return a xml &lt;/p&gt;
&lt;p&gt;3. I need to analyze the xml and do some logic&lt;/p&gt;
&lt;p&gt;can I ?&lt;/p&gt;</description></item></channel></rss>