<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ashraf's Blog</title>
	<atom:link href="http://ashrafur.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ashrafur.wordpress.com</link>
	<description>Weblogs of Ashrafur Rahaman</description>
	<lastBuildDate>Fri, 13 Jan 2012 19:02:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ashrafur.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ashraf's Blog</title>
		<link>http://ashrafur.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ashrafur.wordpress.com/osd.xml" title="Ashraf&#039;s Blog" />
	<atom:link rel='hub' href='http://ashrafur.wordpress.com/?pushpress=hub'/>
		<item>
		<title>are you in test automation?</title>
		<link>http://ashrafur.wordpress.com/2010/10/02/are-you-in-test-automation/</link>
		<comments>http://ashrafur.wordpress.com/2010/10/02/are-you-in-test-automation/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 21:01:23 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=385</guid>
		<description><![CDATA[are you automating test of a product? are you sure that the automation is really important or not? be sure that manual test cost &#62; automated test cost. How?? easy&#8230; just calculate first manual test cost = manual preparation cost + (N x manual execution cost) automated test cost = automated test preparation + (N [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=385&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>are you automating test of a product?</p>
<p>are you sure that the automation is really important or not?</p>
<p>be sure that manual test cost &gt; automated test cost.</p>
<p>How??</p>
<p>easy&#8230; just calculate first</p>
<p>manual test cost = manual preparation cost + (N x manual execution cost)</p>
<p>automated test cost = automated test preparation + (N x automated execution cost)</p>
<p>&#8230; where N is the number of time test run.</p>
<p>We should use test automation only when it advances the mission of testing.</p>
<br />Filed under: <a href='http://ashrafur.wordpress.com/category/programming/'>Programming</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/385/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=385&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/10/02/are-you-in-test-automation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>Powershell: upload/download ftp files</title>
		<link>http://ashrafur.wordpress.com/2010/03/17/powershell-uploaddownload-ftp-files/</link>
		<comments>http://ashrafur.wordpress.com/2010/03/17/powershell-uploaddownload-ftp-files/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 21:00:31 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=352</guid>
		<description><![CDATA[I needed to download directory from ftp server modify it and uploaded back to server using powershell. At fist i found that [System.Net.WebRequestMethods+Ftp]::UploadFile and [System.Net.WebRequestMethods+Ftp]::DownloadFile works fine and in real life when my zip file size is bigger it does not work. I have not found any solution to make it working so I used [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=352&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I needed to download directory from ftp server modify it and uploaded back to server using powershell. At fist i found that [System.Net.WebRequestMethods+Ftp]::UploadFile and [System.Net.WebRequestMethods+Ftp]::DownloadFile works fine and in real life when my zip file size is bigger it does not work.</p>
<p>I have not found any solution to make it working so I used alternative way to solve it. I have written two batch fildes upload.bat and downlaod.bat and calling these batch files from my PS Script to execute.</p>
<p>Actually if anyone use bat file he/she need not to call the bat file from PS Scripts but in my case after downloading zip file from ftp server I modified many things in the files using powershell and then upload it back to server.</p>
<p>Here are the batch files you can try if needed <a title="upload.bat" href="http://www.box.net/shared/ah4xdzqj6j" target="_self">upload.bat</a> and <a title="download.bat" href="http://www.box.net/shared/7amhez1a06" target="_blank">download.bat</a></p>
<br />Filed under: <a href='http://ashrafur.wordpress.com/category/programming/powershell-programming/'>Powershell</a> Tagged: <a href='http://ashrafur.wordpress.com/tag/powershell/'>Powershell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/352/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=352&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/03/17/powershell-uploaddownload-ftp-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>Powershell: rename folder/directory</title>
		<link>http://ashrafur.wordpress.com/2010/03/04/powershell-rename-folderdirectory/</link>
		<comments>http://ashrafur.wordpress.com/2010/03/04/powershell-rename-folderdirectory/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 16:33:51 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=349</guid>
		<description><![CDATA[to rename a file we use Rename-Item command in powershell the command is very simple Rename-Item $source $dest -force But what about changing a folder/directory name? I made mistake to write the same command in case of folder/directory rename and it does not work, shows exception file not found which proves that the command is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=349&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>to rename a file we use Rename-Item command in powershell the command is very simple</p>
<p>Rename-Item $source $dest -force</p>
<p>But what about changing a folder/directory name? I made mistake to write the same command in case of folder/directory rename and it does not work, shows exception file not found which proves that the command is searching for a file not ready to rename and folder/directory.</p>
<p>After googling for some minutes I found the solution and the command is</p>
<p>Rename-Item -path $destFolder -newName $folderNewName</p>
<p>Example: <strong>Rename-Item -path &#8216;C:\AshrafTest\MyFolder&#8217; -newName &#8216;MyFolder_New&#8217;</strong></p>
<p>By the way the folder should contain some data to be rename. Pretty simple but wasted time to search internet so sharing <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://ashrafur.wordpress.com/category/programming/powershell-programming/'>Powershell</a> Tagged: <a href='http://ashrafur.wordpress.com/tag/powershell/'>Powershell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/349/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=349&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/03/04/powershell-rename-folderdirectory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>Automate internet explorer</title>
		<link>http://ashrafur.wordpress.com/2010/03/02/automate-internet-explorer/</link>
		<comments>http://ashrafur.wordpress.com/2010/03/02/automate-internet-explorer/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 17:36:55 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[C#.NET]]></category>
		<category><![CDATA[automation]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=345</guid>
		<description><![CDATA[Recently I was trying to automate one step of my internet explorer actually my automation step was very simple I just needed to navigate an URL, read DOM of the URL, get text boxes and enter data in it. After entering data in text boxes I was suppose to click on login button. Actually one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=345&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I was trying to automate one step of my internet explorer actually my automation step was very simple I just needed to navigate an URL, read DOM of the URL, get text boxes and enter data in it. After entering data in text boxes I was suppose to click on login button.</p>
<p>Actually one of my 3rd party tool is depending on the login and was trying to automate the login and run the 3rd party tool so I need not to go to server everyday and do that.</p>
<p>It is easy to automate Internet Explorer by using a COM control named Microsoft Internet Controls (SHDocVw). To browse the DOM Microsoft.mshtml is used. I found a very helpful article with code in codeproject.com. here is the article : <a title="Automating Internet Explorer" href="http://www.codeproject.com/KB/cs/automatinginternetexplore.aspx" target="_blank">Automating Internet Explorer</a></p>
<p>By the way, I was facing problem to insert data in the text box  and click button. It worked fine in my local computer where VS is installed but for the computers where VS is not installed it shown exception to convert _Comobject to mshtml.HTMLInputElementClass . <a title="Automation IE" href="http://www.box.net/shared/zymkn7x5yv" target="_self">Download modified file</a>.</p>
<br />Filed under: <a href='http://ashrafur.wordpress.com/category/programming/cnet-programming/'>C#.NET</a> Tagged: <a href='http://ashrafur.wordpress.com/tag/automation/'>automation</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/345/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=345&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/03/02/automate-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>Deploying asp.net application in a shared hosting</title>
		<link>http://ashrafur.wordpress.com/2010/03/01/deploying-asp-net-application-in-a-shared-hosting/</link>
		<comments>http://ashrafur.wordpress.com/2010/03/01/deploying-asp-net-application-in-a-shared-hosting/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 02:59:09 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=343</guid>
		<description><![CDATA[My experiences says that we always suffer for asp.net application. because most of us use many tools for hosting and different provider gives different control panel. Overall it waste a lost of time to make the preparation of deployment in a shared hosting and at the time of hosting we face lots of problem too. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=343&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My experiences says that we always suffer for asp.net application. because most of us use many tools for hosting and different provider gives different control panel. Overall it waste a lost of time to make the preparation of deployment in a shared hosting and at the time of hosting we face lots of problem too.</p>
<p>Today I watched a video in asp.net site which shown very clearly how we can easily deploy asp.net application in a shared hosting just using iis7 and visual studio. This is really a nice video. dot net developers who need to deploy products regularly in shared hosting should watch the video for faster deployment.</p>
<p>Watch the video here : <a title="Developing and Deploying In a Shared Hosting" href="http://www.asp.net/learn/iis-videos/video-6145.aspx" target="_blank">Developing and Deploying In a Shared Hosting</a></p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:3px;width:1px;height:1px;">
<h1 id="bucket1">Developing and Deploying In a Shared Hosting</h1>
</div>
<br />Filed under: <a href='http://ashrafur.wordpress.com/category/programming/'>Programming</a> Tagged: <a href='http://ashrafur.wordpress.com/tag/iis/'>IIS</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/343/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=343&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/03/01/deploying-asp-net-application-in-a-shared-hosting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>Automate software using WPF UI Automation</title>
		<link>http://ashrafur.wordpress.com/2010/02/25/automate-software-using-wpf-ui-automation/</link>
		<comments>http://ashrafur.wordpress.com/2010/02/25/automate-software-using-wpf-ui-automation/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 15:15:53 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=339</guid>
		<description><![CDATA[Recently I have written a article which shows the power of WPF UI Automation. This library is really rich and make UI Automation easier. Here is the article : Automate software using WPF UI Automation Filed under: Asp.Net Tagged: WPF<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=339&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I have written a article which shows the power of WPF UI Automation. This library is really rich and make UI Automation easier.</p>
<p><a href="http://ashrafur.files.wordpress.com/2010/02/automator.gif"><img class="alignnone size-medium wp-image-341" title="Automator" src="http://ashrafur.files.wordpress.com/2010/02/automator.gif?w=300&#038;h=246" alt="" width="300" height="246" /></a></p>
<p>Here is the article : <a title="Automate software using WPF UI Automation" href="http://www.codeproject.com/KB/WPF/automator.aspx" target="_blank">Automate software using WPF UI Automation</a></p>
<br />Filed under: <a href='http://ashrafur.wordpress.com/category/programming/aspnet-programming/'>Asp.Net</a> Tagged: <a href='http://ashrafur.wordpress.com/tag/wpf/'>WPF</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/339/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=339&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/02/25/automate-software-using-wpf-ui-automation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>

		<media:content url="http://ashrafur.files.wordpress.com/2010/02/automator.gif?w=300" medium="image">
			<media:title type="html">Automator</media:title>
		</media:content>
	</item>
		<item>
		<title>Add-PSSnapin : The Windows PowerShell snap-in &#8216;Pscx&#8217; is not installed on this machine.</title>
		<link>http://ashrafur.wordpress.com/2010/02/21/add-pssnapin-the-windows-powershell-snap-in-pscx-is-not-installed-on-this-machine/</link>
		<comments>http://ashrafur.wordpress.com/2010/02/21/add-pssnapin-the-windows-powershell-snap-in-pscx-is-not-installed-on-this-machine/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 16:04:17 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=382</guid>
		<description><![CDATA[I downloaded powerhsell from Microsoft website (http://support.microsoft.com/kb/968929) and installed it. After successful installation I restarted computer and then open command prompt and write &#8220;Powershell&#8221; it shows me error &#8220;Add-PSSnapin : The Windows PowerShell snap-in &#8216;Pscx&#8217; is not installed on this machine.&#8221; To overcome that , download a 3rd party tool Powershell Community Extension from (http://pscx.codeplex.com/) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=382&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I downloaded powerhsell from Microsoft website (<a title="download powerrshell" href="http://support.microsoft.com/kb/968929" target="_blank">http://support.microsoft.com/kb/968929</a>) and installed it.</p>
<p>After successful installation I restarted computer and then open command prompt and write &#8220;Powershell&#8221; it shows me error &#8220;Add-PSSnapin : The Windows PowerShell snap-in &#8216;Pscx&#8217; is not installed on this machine.&#8221;</p>
<p>To overcome that , download a 3rd party tool Powershell Community Extension from (<a title="http://pscx.codeplex.com/" href="http://pscx.codeplex.com/" target="_blank">http://pscx.codeplex.com/</a>) and Install it. That will automatically override Profile.ps1 which was installed by powershell installation and will fix the problem.</p>
<p>Microsoft should add that in the installer.</p>
<br />Filed under: <a href='http://ashrafur.wordpress.com/category/programming/'>Programming</a> Tagged: <a href='http://ashrafur.wordpress.com/tag/powershell/'>Powershell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=382&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/02/21/add-pssnapin-the-windows-powershell-snap-in-pscx-is-not-installed-on-this-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>Powershell: Problem installing new version in win 2003</title>
		<link>http://ashrafur.wordpress.com/2010/02/03/powershell-problem-installing-new-version-in-win-2003/</link>
		<comments>http://ashrafur.wordpress.com/2010/02/03/powershell-problem-installing-new-version-in-win-2003/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 16:03:00 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=323</guid>
		<description><![CDATA[As I am working with latest version of Powershell, when I tried to install latest version in XP I found that older version of powershell is available in software update for XP it is easy to find out and remove. But I really faced a big problem when I tried to install that in windows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=323&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As I am working with latest version of Powershell, when I tried to install latest version in XP I found that older version of powershell is available in software update for XP it is easy to find out and remove. But I really faced a big problem when I tried to install that in windows server 2003. I found all the software updates are named &#8220;Update of windows Server&#8230;&#8221; or &#8220;Security Update for windows server &#8230;&#8221; or &#8220;Hotfix for windows server 2003 &#8230;&#8221;. Its really hard to find out the right one and remove. After searching I found that I need to search for KB* to remove the older version.</p>
<p>Older version of powershell should be resembled any of the following</p>
<div id="_mcePaste">Hotfix for Windows Server 2003 (KB926139)</div>
<div id="_mcePaste">Hotfix for Windows Server 2003 (KB926140)</div>
<div id="_mcePaste">Hotfix for Windows Server 2003 (KB926141)</div>
<p>So find out the right one and remove it. Sometime it shows like that KB926139-v2, so don&#8217;t be confused. And after click on remove it will show you in the wizard that you are removing poweshell version 1.0 or anything else to be confirm you are really removing the right thing.</p>
<br />Filed under: <a href='http://ashrafur.wordpress.com/category/programming/powershell-programming/'>Powershell</a> Tagged: <a href='http://ashrafur.wordpress.com/tag/powershell/'>Powershell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=323&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/02/03/powershell-problem-installing-new-version-in-win-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>Powershell: install exe or msi in silent mode</title>
		<link>http://ashrafur.wordpress.com/2010/01/20/powershell-install-exe-or-msi-in-silent-mode/</link>
		<comments>http://ashrafur.wordpress.com/2010/01/20/powershell-install-exe-or-msi-in-silent-mode/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 18:15:45 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=321</guid>
		<description><![CDATA[if you just need to install any software automatically using powershell you can just run the silent moder of the installer from powershell. The poweshell script to run exe or msi in silent mode is: $command = &#8220;cmd.exe /c D:\MyInstaller.exe /s /v`&#8221;/qn&#8221; $process = [WMICLASS]&#8220;\\PCName\ROOT\CIMV2:win32_process&#8220; $process.Create($command) Remember your installer should have silent mode on in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=321&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>if you just need to install any software automatically using powershell you can just run the silent moder of the installer from powershell. The poweshell script to run exe or msi in silent mode is:</p>
<p>$command = &#8220;cmd.exe /c D:\MyInstaller.exe /s /v`&#8221;/qn&#8221;<br />
$process = [WMICLASS]&#8220;<a href="win32_process">\\PCName\ROOT\CIMV2:win32_process</a>&#8220;<br />
$process.Create($command)</p>
<p>Remember your installer should have silent mode on in it.</p>
<br />Posted in Powershell Tagged: Powershell <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=321&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2010/01/20/powershell-install-exe-or-msi-in-silent-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>Powershell: copy file and folder to remote location</title>
		<link>http://ashrafur.wordpress.com/2009/12/14/powershell-copy-file-and-folder-to-remote-location/</link>
		<comments>http://ashrafur.wordpress.com/2009/12/14/powershell-copy-file-and-folder-to-remote-location/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 16:23:37 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=309</guid>
		<description><![CDATA[I have a text file and in that file list of files and folder are available to copy from a local computer to a remote computer. This is very easy to do using powershell. Example is as follows $remotePCName = &#8220;remotePC&#8221; $remoteRoot = &#8220;\\$remotePCName\c$&#8221; $DestFolder=&#8221;$remoteRoot\FileCopy\dest&#8221; $SrcFolder=&#8221;C:\FileCopy\src&#8221; $InputFile =&#8221;C:\FilesToExport.txt&#8221; foreach ($FileLine in Get-Content $InputFile) { $src [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=309&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a text file and in that file list of files and folder are available to copy from a local computer to a remote computer. This is very easy to do using powershell. Example is as follows</p>
<p>$remotePCName = &#8220;remotePC&#8221;<br />
$remoteRoot = &#8220;\\$remotePCName\c$&#8221;<br />
$DestFolder=&#8221;$remoteRoot\FileCopy\dest&#8221;<br />
$SrcFolder=&#8221;C:\FileCopy\src&#8221;<br />
$InputFile =&#8221;C:\FilesToExport.txt&#8221;</p>
<p>foreach ($FileLine in Get-Content $InputFile)<br />
{<br />
$src = $FileLine<br />
$dest = $src.Replace($SrcFolder, $DestFolder)<br />
if(!(test-path -path $dest))<br />
{<br />
if((get-item $src).PSIsContainer)<br />
{<br />
new-Item $dest -type Directory -force | out-Null<br />
Copy-Item &#8220;$src\*&#8221; $dest -recurse<br />
&#8220;Folder $dest Missing. Creating it!&#8221;<br />
}<br />
else<br />
{<br />
new-Item $dest -type File -force | out-Null<br />
Copy-Item $src $dest -force<br />
&#8220;File $dest Missing. Creating it!&#8221;<br />
}<br />
}<br />
else<br />
{<br />
if((get-item $src).PSIsContainer)<br />
{<br />
Copy-Item &#8220;$src\*&#8221; $dest -recurse<br />
&#8220;Copy file done for $src&#8221;<br />
}<br />
else<br />
{<br />
Copy-Item $src $dest -force<br />
&#8220;Copy file done for $src&#8221;<br />
}<br />
}<br />
}</p>
<p>a file syncronizer can be created by some code modification easily.</p>
<br />Posted in Powershell Tagged: Powershell <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ashrafur.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ashrafur.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ashrafur.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ashrafur.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/309/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&amp;blog=1768637&amp;post=309&amp;subd=ashrafur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2009/12/14/powershell-copy-file-and-folder-to-remote-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
	</channel>
</rss>
