<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marshal&#039;s Blog &#187; powershell</title>
	<atom:link href="http://marshal.easymorse.com/archives/tag/powershell/feed" rel="self" type="application/rss+xml" />
	<link>http://marshal.easymorse.com</link>
	<description>It&#039;s swap of marshal&#039;s memory.</description>
	<lastBuildDate>Mon, 30 Jan 2012 07:03:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>试用windows 7 beta版本</title>
		<link>http://marshal.easymorse.com/archives/1063?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e8%25af%2595%25e7%2594%25a8windows-7-beta%25e7%2589%2588%25e6%259c%25ac</link>
		<comments>http://marshal.easymorse.com/archives/1063#comments</comments>
		<pubDate>Fri, 02 Jan 2009 08:25:32 +0000</pubDate>
		<dc:creator>Marshal</dc:creator>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://marshal.easymorse.com/archives/1063</guid>
		<description><![CDATA[使用了一下windows 7 beta版本。版本号是： 在虚拟机上安装，感觉比vista安装速度要快，启动界面： 启动后，内存使用比vista要少： 安装的版本是ultimate版本： windows 7内置了powershell支持： 进入powershell命令行的界面： 进入powershell 集成脚本环境（ise）： &#160; 另外，windows7增加了一个内存测试工具，对测试内存十分有用： 内存测试中的截屏：]]></description>
			<content:encoded><![CDATA[<p>使用了一下windows 7 beta版本。版本号是：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s4.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="76" alt="s4" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s4-thumb.png" width="331" border="0" /></a> </p>
<p> <span id="more-1063"></span>
<p>在虚拟机上安装，感觉比vista安装速度要快，启动界面：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s1.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="162" alt="s1" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s1-thumb.png" width="293" border="0" /></a> </p>
<p>启动后，内存使用比vista要少：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="301" alt="s2" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s2-thumb.png" width="357" border="0" /></a> </p>
<p>安装的版本是ultimate版本：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="119" alt="s3" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s3-thumb.png" width="408" border="0" /></a> </p>
<p>windows 7内置了powershell支持：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s5.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="117" alt="s5" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s5-thumb.png" width="236" border="0" /></a> </p>
<p>进入powershell命令行的界面：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s6.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="112" alt="s6" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s6-thumb.png" width="520" border="0" /></a></p>
<p>进入powershell 集成脚本环境（ise）：</p>
<p>&#160;<a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s7.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="s7" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s7-thumb.png" width="624" border="0" /></a></p>
<p>另外，windows7增加了一个内存测试工具，对测试内存十分有用：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s8.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="267" alt="s8" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s8-thumb.png" width="195" border="0" /></a> </p>
<p>内存测试中的截屏：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/s9.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="311" alt="s9" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/s9-thumb.png" width="406" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://marshal.easymorse.com/archives/1063/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用powershell通过com对象使用ie浏览器</title>
		<link>http://marshal.easymorse.com/archives/930?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e4%25bd%25bf%25e7%2594%25a8powershell%25e9%2580%259a%25e8%25bf%2587com%25e5%25af%25b9%25e8%25b1%25a1%25e4%25bd%25bf%25e7%2594%25a8ie%25e6%25b5%258f%25e8%25a7%2588%25e5%2599%25a8</link>
		<comments>http://marshal.easymorse.com/archives/930#comments</comments>
		<pubDate>Sat, 30 Aug 2008 16:28:33 +0000</pubDate>
		<dc:creator>Marshal</dc:creator>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://marshal.easymorse.com/archives/930</guid>
		<description><![CDATA[使用powershell可以访问com对象，通过ie的com对象可很容易的访问网页。 $mie = new-object -comobject InternetExplorer.Application $mie.Navigate(&#34;http://marshal.easymorse.com&#34;) $mie.visible = $True 如果关闭该ie窗口，可： $mie.quit()]]></description>
			<content:encoded><![CDATA[<p>使用powershell可以访问com对象，通过ie的com对象可很容易的访问网页。</p>
<p>
<div class="wlWriterSmartContent" id="scid:F2210F5F-69EB-4d4c-AFF7-B8A050E9CC72:54b2180d-1f16-4683-8e97-f85b05a3ce74" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<pre  style="width:100%;;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #800080;">$mie</span><span style="color: #000000;"> </span><span style="color: #000000;">=</span><span style="color: #000000;"> new</span><span style="color: #000000;">-</span><span style="color: #000000;">object </span><span style="color: #000000;">-</span><span style="color: #000000;">comobject InternetExplorer.Application
</span><span style="color: #800080;">$mie</span><span style="color: #000000;">.Navigate(</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">http://marshal.easymorse.com</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">)
</span><span style="color: #800080;">$mie</span><span style="color: #000000;">.visible </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">$True</span></div>
</pre>
</div>
<p>如果关闭该ie窗口，可：</p>
<div class="wlWriterSmartContent" id="scid:F2210F5F-69EB-4d4c-AFF7-B8A050E9CC72:f8e9a727-2b4a-43d8-bbb5-f58444a062da" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<pre  style="width:100%;;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #800080;">$mie</span><span style="color: #000000;">.quit()</span></div>
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://marshal.easymorse.com/archives/930/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>powershell在vista下的安装</title>
		<link>http://marshal.easymorse.com/archives/929?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=powershell%25e5%259c%25a8vista%25e4%25b8%258b%25e7%259a%2584%25e5%25ae%2589%25e8%25a3%2585</link>
		<comments>http://marshal.easymorse.com/archives/929#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:46:30 +0000</pubDate>
		<dc:creator>Marshal</dc:creator>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://marshal.easymorse.com/archives/929</guid>
		<description><![CDATA[下载powershell，需要用ie下载，因为要验证是否为正版windows。下载地址： http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&#38;FamilyID=c6ef4735-c7de-46a2-997a-ea58fdfcba63 安装powershell后启动powershell，执行简单的powershell命令：get-date，测试是否正常显示日期和时间，说明安装成功。 如果需要执行脚本，需要对脚本做安全设置： 放宽安全限制：默认为不能执行脚本，只能执行命令，Set-ExecutionPolicy remotesigned（只限制远程脚本） 在vista下，执行上述命令必须是管理员，否则&#8220;访问被拒绝。&#8221; 执行脚本，类似执行bat批处理，一般扩展名为： *.ps1]]></description>
			<content:encoded><![CDATA[<p>下载powershell，需要用ie下载，因为要验证是否为正版windows。下载地址：</p>
<blockquote><p><a title="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=c6ef4735-c7de-46a2-997a-ea58fdfcba63" href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=c6ef4735-c7de-46a2-997a-ea58fdfcba63">http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=c6ef4735-c7de-46a2-997a-ea58fdfcba63</a></p>
</blockquote>
<p> <span id="more-929"></span>
<p>安装powershell后启动powershell，执行简单的powershell命令：get-date，测试是否正常显示日期和时间，说明安装成功。</p>
<p>如果需要执行脚本，需要对脚本做安全设置：</p>
<ol>
<li>放宽安全限制：默认为不能执行脚本，只能执行命令，Set-ExecutionPolicy remotesigned（只限制远程脚本） </li>
<li>在vista下，执行上述命令必须是管理员，否则&#8220;访问被拒绝。&#8221; </li>
</ol>
<p>执行脚本，类似执行bat批处理，一般扩展名为：</p>
<blockquote><p><font color="#333333">*.ps1</font></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://marshal.easymorse.com/archives/929/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

