<?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>Techibee.com &#187; Windows 7</title>
	<atom:link href="http://techibee.com/category/windows-7/feed" rel="self" type="application/rss+xml" />
	<link>http://techibee.com</link>
	<description>A System Administrator&#039;s Blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:40:40 +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: Unveil hidden themes</title>
		<link>http://techibee.com/windows-7/windows-7-unveil-hidden-themes/1125</link>
		<comments>http://techibee.com/windows-7/windows-7-unveil-hidden-themes/1125#comments</comments>
		<pubDate>Sat, 29 Oct 2011 08:58:22 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[hidden windows 7 theme]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=1125</guid>
		<description><![CDATA[Windows 7 comes with a few default themes which you can view from &#8220;Control Panel&#8221; -&#62; &#8220;Appearance and Personalization&#8221; -&#62; &#8220;Change the theme&#8221;. While exploring something today, I came across a hidden location where a few more window 7 themes are available. To access the location, go to start -&#62; Run and type &#8220;c:\Windows\Globalization\mct&#8221;. This [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-11260"></div></div><p>Windows 7 comes with a few default themes which you can view from &#8220;Control Panel&#8221; -&gt; &#8220;Appearance and Personalization&#8221; -&gt; &#8220;Change the theme&#8221;. While exploring something today, I came across a hidden location where a few more window 7 themes are available.</p>
<p>To access the location, go to start -&gt; Run and type &#8220;c:\Windows\Globalization\mct&#8221;. This lists the folders and here you can see the themes for &#8220;AU &#8211; Australia&#8221;, &#8220;CA- Canada&#8221;, &#8220;US &#8211; United States&#8221;, &#8220;GB &#8211; United Kingdom&#8221;,  and &#8220;ZA &#8211; South Africa&#8221;. Out of these we generally see United Stated theme only in control panel. This is because of most of us select Country/language as US during the installation. If we choose some other country during the installation, the respective theme will get added.</p>
<p>If you like any theme in these hidden ones, just go to that folder and execute the file inside themes folder to install and activate it. I liked ZA theme among them <img src='http://techibee.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://techibee.com/wp-content/uploads/2011/10/ZA.png"><img class="aligncenter size-medium wp-image-1126" title="ZA" src="http://techibee.com/wp-content/uploads/2011/10/ZA-300x292.png" alt="" width="300" height="292" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/windows-7/windows-7-unveil-hidden-themes/1125/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command line to disable network connection in windows 2008/Windows 7</title>
		<link>http://techibee.com/tips/command-line-to-disable-network-connection-in-windows-2008windows-7/1046</link>
		<comments>http://techibee.com/tips/command-line-to-disable-network-connection-in-windows-2008windows-7/1046#comments</comments>
		<pubDate>Mon, 11 Jul 2011 11:09:03 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[command line to disable network connection]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=1046</guid>
		<description><![CDATA[I inspired from my previous post,  and decide to do some network interface related operations from command line as they helps me when managing Windows 2008 Core Operating system. Another command that I am going to provide now is to disable network connection from command line. netsh interface set interface name=&#8221;Local Area Connection 1&#8243; admin=DISABLED [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-10470"></div></div><p>I inspired from <a href="http://techibee.com/windows-7/disable-windows-firewall-from-command-line/1043" target="_blank">my previous post</a>,  and decide to do some network interface related operations from command line as they helps me when managing Windows 2008 Core Operating system. Another command that I am going to provide now is to disable network connection from command line.</p>
<blockquote><p><strong>netsh interface set interface name=&#8221;Local Area Connection 1&#8243; admin=DISABLED</strong></p></blockquote>
<p>In about command, <strong>&#8220;Local Area Connection 1&#8243;</strong> is the name of the connection that you want to disable. You can change the value of <strong>&#8220;Admin&#8221;</strong> to <strong>&#8220;Enable&#8221;</strong> to enable back the network connection. Similarly, if you want to rename the network connection, you can use newname parameter. Below is the command.</p>
<blockquote><p><strong>netsh interface set interface name=&#8221;Local Area Connection 1&#8243; newname=&#8221;My NIC1&#8243;</strong></p></blockquote>
<p>Above command renames &#8220;Local Area Connection 1&#8243; network to &#8220;My NIC1&#8243;.</p>
<p>Hope this helps&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/tips/command-line-to-disable-network-connection-in-windows-2008windows-7/1046/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disable Windows firewall from command line</title>
		<link>http://techibee.com/windows-2008/disable-windows-firewall-from-command-line/1043</link>
		<comments>http://techibee.com/windows-2008/disable-windows-firewall-from-command-line/1043#comments</comments>
		<pubDate>Mon, 11 Jul 2011 10:48:57 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[command line to disable windows firewall]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[turn off firewall]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=1043</guid>
		<description><![CDATA[When you are working on Windows 2008 core, you get requirement to disable firewall functionality to allow all programs communication. The default firewall settings blocks most of the ports(including remote management) and administrator has to explicitly open them on need basis. The default Core console allows you to perform only few network operations like listing [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-10440"></div></div><p>When you are working on Windows 2008 core, you get requirement to disable firewall functionality to allow all programs communication. The default firewall settings blocks most of the ports(including remote management) and administrator has to explicitly open them on need basis. The default Core console allows you to perform only few network operations like listing and assigning IP address, but if you want to perform advanced operations like disabling firewall functionality in all profiles(see my post <a href="http://techibee.com/windows-2008/what-is-domain-public-and-private-profiles-in-windows-2008-firewall/478">http://techibee.com/windows-2008/what-is-domain-public-and-private-profiles-in-windows-2008-firewall/478</a> for different profiles in 2008 firewall), you need to rely on some command line options.</p>
<p>Netsh is one of the very useful command line utilities in windows environment. Now in this post, I will show you how to disable firewall profiles(Private, public, domain) on a windows 2008 Core. You need this command in Server Core environment because, you cannot manage firewall remotely as there is a provision and you can not manage it from local host as core supports no GUI. Only option is command line utility.</p>
<p>Now, let us see how we can disable firewall functionality from all profiles</p>
<blockquote><p><strong>netsh advfirewall set allprofiles state off</strong></p></blockquote>
<p>If you want to turn off the firewall for individual  profiles use the below commands</p>
<blockquote><p><strong>netsh advfirewall set domainprofile state off</strong></p>
<p><strong>netsh advfirewall set privateprofile state off</strong></p>
<p><strong>netsh advfirewall set publicprofile state off</strong></p></blockquote>
<p>You can turn on firewall back by simply replacing <strong>&#8220;off&#8221;</strong> with <strong>&#8220;on&#8221;</strong> in above commands.</p>
<p>Netsh utility allows us to perform more set of operations on different components of operating system. You can explore the help(netsh /?) to lean about it further.</p>
<p>You can also download a NetSH Technical reference guide from MS website. Refer to <a href="http://techibee.com/general/download-netsh-technical-reference-for-windows-2008windows-7/494" target="_blank">http://techibee.com/general/download-netsh-technical-reference-for-windows-2008windows-7/494</a> for more details.</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/windows-2008/disable-windows-firewall-from-command-line/1043/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wake on LAN is not working in Windows 7 &#8212; Found the solution</title>
		<link>http://techibee.com/windows-7/wake-on-lan-is-not-working-in-windows-7-found-the-solution/980</link>
		<comments>http://techibee.com/windows-7/wake-on-lan-is-not-working-in-windows-7-found-the-solution/980#comments</comments>
		<pubDate>Tue, 03 May 2011 18:37:08 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=980</guid>
		<description><![CDATA[I have been struggling for a while to identify why Wake On LAN is not working since I installed Windows 7 on my computer. It worked fine with Windows XP but after moving to windows 7, it never worked. After lot of testing and trying various things, I finally reached the solution. So, here you [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-9810"></div></div><p>I have been struggling for a while to identify why Wake On LAN is not working since I installed Windows 7 on my computer. It worked fine with Windows XP but after moving to windows 7, it never worked. After lot of testing and trying various things, I finally reached the solution.</p>
<p>So, here you go…</p>
<p>There is something called<strong> PME(Power Management Event)</strong> in Network connection properties which should be in enabled state to make your Windows 7 computer process the magic packets to wake up your computer.</p>
<p>To enable PME, follow the below steps.</p>
<ul>
<li> Go to Start -&gt; Run -&gt; Type “ncpa.cpl” and click OK</li>
<li>This opens up the network connections available in the computer. Here identify the NIC on which your computer will receive magic packets and go the properties of it.</li>
</ul>
<p><a href="http://techibee.com/wp-content/uploads/2011/05/Wake-on-lan1.png"><img class="aligncenter size-medium wp-image-981" title="Wake-on-lan1" src="http://techibee.com/wp-content/uploads/2011/05/Wake-on-lan1-238x300.png" alt="" width="238" height="300" /></a></p>
<ul>
<li>Click on Configure and Switch to advanced tab and select “Enable PME” property list and change the value to “Enable”</li>
</ul>
<p><a href="http://techibee.com/wp-content/uploads/2011/05/Wake-on-lan2.png"><img class="aligncenter size-medium wp-image-982" title="Wake-on-lan2" src="http://techibee.com/wp-content/uploads/2011/05/Wake-on-lan2-270x300.png" alt="" width="270" height="300" /></a></p>
<ul>
<li>Click on OK to complete the configuration.</li>
</ul>
<p>This will make your network connection to blip briefly. Once your network connection is back your computer is ready to process the WOL packets. Shutdown your computer and try sending magic packet again. It should work without any issues.</p>
<p>Relavant articles:</p>
<p><a href="http://www.intel.com/support/network/sb/cs-008459.htm">http://www.intel.com/support/network/sb/cs-008459.htm</a></p>
<p>Feel free to post any questions that you have about WOL in windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/windows-7/wake-on-lan-is-not-working-in-windows-7-found-the-solution/980/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Disable TCP/IP &#8220;Auto Tuning&#8221; in windows 7/vista/windows 2008 R2</title>
		<link>http://techibee.com/windows-7/disable-tcpip-auto-tuning-in-windows-7vistawindows-2008-r2/956</link>
		<comments>http://techibee.com/windows-7/disable-tcpip-auto-tuning-in-windows-7vistawindows-2008-r2/956#comments</comments>
		<pubDate>Tue, 12 Apr 2011 19:05:55 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=956</guid>
		<description><![CDATA[Since last one and half year, I have been working on Windows 7 Operating system and in my experience &#8220;Auto Tuning&#8221; in windows 7/vista/windows 2008 R2 is the most possible culprit for any network related problems. If you see a network related problem in these operating systems and cannot determine what is the cause, I [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-9570"></div></div><p>Since last one and half year, I have been working on Windows 7 Operating system and in my experience &#8220;Auto Tuning&#8221; in windows 7/vista/windows 2008 R2 is the most possible culprit for any network related problems. If you see a network related problem in these operating systems and cannot determine what is the cause, I suggest you try disabling &#8220;auto tuning&#8221; first.</p>
<p>I know that &#8220;auto tuning&#8221; is one of the features introduced with windows 7/vista to improve OS operations on network. Basically what it does is, it adjusts the TCP window size to improve the network operations. Though it sounds good in theory, I have seen numerous amount of posts over internet where disabling “auto tuning” addressed many issues like, slow data copy, slowness in email delivery, slow outlook mail caching times, and a few application data transfer related issues. Most of these issues you will see when performing the transfer operations over a WAN link.</p>
<p>So, considering above all, I would like to share the procedure for disabling/enabling “Auto Tuning” in windows 7 environment which may come handy for you in troubleshooting network related issues&#8230;</p>
<p><strong>Procedure:</strong></p>
<ol>
<li>Open Command prompt with elevated rights</li>
<li>Run the command <strong>netsh interface tcp set global autotuning=disabled</strong></li>
<li>This disables the auto tuning</li>
<li>Similar to enable auto tuning back, use the command <strong>netsh interface tcp set global autotuningl=normal</strong></li>
</ol>
<p> If you want to see the current status of auto tuning, use <strong>netsh interface tcp show global</strong></p>
<p><a href="http://techibee.com/wp-content/uploads/2011/04/showautotuning.png"><img class="aligncenter size-full wp-image-958" title="showautotuning" src="http://techibee.com/wp-content/uploads/2011/04/showautotuning.png" alt="" width="643" height="247" /></a></p>
<p>Hope this helps you.</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/windows-7/disable-tcpip-auto-tuning-in-windows-7vistawindows-2008-r2/956/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Block installation of Windows 7/Windows 2008 R2 Service Pack 1</title>
		<link>http://techibee.com/tips/block-installation-of-windows-7windows-2008-r2-service-pack-1/895</link>
		<comments>http://techibee.com/tips/block-installation-of-windows-7windows-2008-r2-service-pack-1/895#comments</comments>
		<pubDate>Sun, 06 Mar 2011 17:32:21 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=895</guid>
		<description><![CDATA[Microsoft has released a tool which helps you in blocking the installation of Windows 7/Windows 2008 R2 Service Pack 1 through windows Updates. You can download it from here. This download contains three files. 1. SPBlockingTool.exe &#8212; A microsoft executable 2. SPReg.bat  &#8211;  A batch script 3. NoSPUpdate.ADM &#8212; A ADM file to use with [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-8960"></div></div><p>Microsoft has released a tool which helps you in blocking the installation of Windows 7/Windows 2008 R2 Service Pack 1 through windows Updates. You can download it from <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d7c9a07a-5267-4bd6-87d0-e2a72099edb7&amp;displaylang=en" target="_blank">here</a>.</p>
<p>This download contains three files.</p>
<p>1. SPBlockingTool.exe &#8212; A microsoft executable</p>
<p>2. SPReg.bat  &#8211;  A batch script</p>
<p>3. NoSPUpdate.ADM &#8212; A ADM file to use with GPOs</p>
<p>The installation of service pack 1 through Windows Update can be stopped with one of the above above given tools. If you plan to use the executable, you need to pass /B switch to it to block the installation and /U switch to unblock the installation. Similar functionality can be achieved with BAT script also. It helps you to run against remote system as well. Third approach is using the ADM file in your Group Policies. This GPO procedure is very straight forward and like using any other ADM file.</p>
<p>Irrespective of approach you use, it creates a key value name &#8220;<strong>DoNotAllowSP</strong>&#8221; and sets it to &#8220;<strong>1</strong>&#8221; under <strong>HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate</strong> registry key to block the installation. It deletes this newly created key when you instruct it to unblock the installation restriction.</p>
<p>Hope this helps you.</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/tips/block-installation-of-windows-7windows-2008-r2-service-pack-1/895/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Take easy screen shots using snipping tool in windows 7</title>
		<link>http://techibee.com/tips/take-easy-screen-shots-using-snipping-tool-in-windows-7/875</link>
		<comments>http://techibee.com/tips/take-easy-screen-shots-using-snipping-tool-in-windows-7/875#comments</comments>
		<pubDate>Thu, 13 Jan 2011 14:47:30 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=875</guid>
		<description><![CDATA[Till windows XP, taking a screenshot of active windows or a selected area is more than an easy task. You need to be familiar and always remember the key selection(Ctrl+PrintScn) to do that. These headaches are gone with windows 7. To capture a screenshot in windows 7, follow the below steps. Get the required screen [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-8760"></div></div><p>Till windows XP, taking a screenshot of active windows or a selected area is more than an easy task. You need to be familiar and always remember the key selection(Ctrl+PrintScn) to do that. These headaches are gone with windows 7.</p>
<p>To capture a screenshot in windows 7, follow the below steps.</p>
<ol>
<li>Get the required screen to top of all windows &#8212; essential for any screen capture mechanism <img src='http://techibee.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>Go to START -&gt; RUN -&gt; type &#8220;SnippingTool.exe&#8221;</li>
<li>This will gray out your screen and launch the tool.</li>
<li>Select the screen area that you want to screen shot and at the end of selection it will automatically converted to a image file and prompts you for saving.</li>
<li>Before you save, it allows you to make any modifications to it if you want &#8212; like pointing some item etc.</li>
</ol>
<p>I assume you felt this very easy. You can read more about this at <a href="http://windows.microsoft.com/en-IN/windows7/products/features/snipping-tool">http://windows.microsoft.com/en-IN/windows7/products/features/snipping-tool</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/tips/take-easy-screen-shots-using-snipping-tool-in-windows-7/875/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disconnect Wireless network command line</title>
		<link>http://techibee.com/tips/disconnect-wireless-network-command-line/845</link>
		<comments>http://techibee.com/tips/disconnect-wireless-network-command-line/845#comments</comments>
		<pubDate>Thu, 04 Nov 2010 14:31:55 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=845</guid>
		<description><![CDATA[I troubleshooted a peculiar problem today and to implement a workaround for that issue, I have to disconnect wireless at the time of logoff. I did some search in google and the below command helped me. netsh wlan disconnect Btw, this command is Vista/Windows 7 compatible. I am not sure about other operating systems. I [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-8460"></div></div><p>I troubleshooted a peculiar problem today and to implement a workaround for that issue, I have to disconnect wireless at the time of logoff. I did some search in google and the below command helped me.</p>
<blockquote><p>netsh wlan disconnect</p></blockquote>
<p>Btw, this command is Vista/Windows 7 compatible. I am not sure about other operating systems. I did some more research and came across bunch of commands using which we can manage wireless on windows 7 computers very easily.</p>
<p>Refer to <a href="http://www.google.co.in/url?url=http://download.microsoft.com/download/3/b/a/3ba6d659-6e39-4cd7-b3a2-9c96482f5353/Netsh%2520Commands%2520for%2520Wireless%2520Local%2520Area%2520Network%2520(WLAN).doc&amp;rct=j&amp;sa=U&amp;ei=HcLSTMyjApCKvgO6q63iDw&amp;ved=0CCcQFjAE&amp;sig2=VWRFTJyEWaisGU6AT8s-sg&amp;q=wireless+commands&amp;usg=AFQjCNHd1byMSBHhkKPab9n7If0uEIwucw" target="_blank">this Microsoft Document</a> to know the commands.</p>
<p>Happy learning and happy <a href="http://en.wikipedia.org/wiki/Diwali" target="_blank">Diwali</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/tips/disconnect-wireless-network-command-line/845/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to get Pop up message box using Powershell</title>
		<link>http://techibee.com/powershell/how-to-get-pop-up-message-box-using-powershell/839</link>
		<comments>http://techibee.com/powershell/how-to-get-pop-up-message-box-using-powershell/839#comments</comments>
		<pubDate>Tue, 19 Oct 2010 14:12:09 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=839</guid>
		<description><![CDATA[AFAIK, there are two ways available to generate a Pop-up message box using powershell. Simple way:- In this powershell relies on a method which is available in windows shell object(WSH). In this you can control four factors, &#8220;Message box title&#8221;, &#8220;Message&#8221;, &#8220;timeout for message box&#8221;, &#8220;box type&#8221;. Below is a simple example. $a = new-object [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-8400"></div></div><p>AFAIK, there are two ways available to generate a Pop-up message box using powershell.</p>
<p><strong>Simple way:-</strong></p>
<p>In this powershell relies on a method which is available in windows shell object(WSH). In this you can control four factors, &#8220;Message box title&#8221;, &#8220;Message&#8221;, &#8220;timeout for message box&#8221;, &#8220;box type&#8221;.</p>
<p>Below is a simple example.</p>
<blockquote><p>$a = new-object -comobject wscript.shell<br />
$b = $a.popup(&#8220;This is a test message from http://Techibee.com &#8220;,0,&#8221;Test message from techibee&#8221;,1)</p></blockquote>
<p><strong><a href="http://techibee.com/wp-content/uploads/2010/10/wsh-popup.png"><img class="aligncenter size-full wp-image-841" title="wsh-popup" src="http://techibee.com/wp-content/uploads/2010/10/wsh-popup.png" alt="" width="314" height="144" /></a></strong></p>
<p><strong>Second and effective method:-</strong></p>
<p>In this we can make use of dotnet windows forms to generate the pop-up message boxes. Though code looks bit heavy it works very well and has lot of flexibility.</p>
<blockquote><p>[System.Reflection.Assembly]::LoadWithPartialName(&#8220;System.Windows.Forms&#8221;)<br />
[Windows.Forms.MessageBox]::Show(&#8220;Test message from Techibee.com!. Subscribe to news letters, RSS feeds at <a href="http://techibee.com">http://techibee.com</a> to stay tuned&#8221;, &#8220;PowerShellScripts.blogspot.com&#8221;, [Windows.Forms.MessageBoxButtons]::OK, [Windows.Forms.MessageBoxIcon]::Information)</p></blockquote>
<p><a href="http://techibee.com/wp-content/uploads/2010/10/windows-forms-popup.png"><img class="aligncenter size-full wp-image-843" title="windows-forms-popup" src="http://techibee.com/wp-content/uploads/2010/10/windows-forms-popup.png" alt="" width="486" height="161" /></a><a href="http://techibee.com/wp-content/uploads/2010/10/windows-forms-popup.png"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/powershell/how-to-get-pop-up-message-box-using-powershell/839/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Query for error events in Event log using PowerShell</title>
		<link>http://techibee.com/windows-7/query-for-error-events-in-event-log-using-powershell/837</link>
		<comments>http://techibee.com/windows-7/query-for-error-events-in-event-log-using-powershell/837#comments</comments>
		<pubDate>Tue, 19 Oct 2010 13:54:30 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[event log query]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=837</guid>
		<description><![CDATA[PowerShell has a built in cmdlet(Get-Eventlog) which directly interacts with Event Viewer. You can query the data in the way you want using this cmdlet. Below are some of the examples&#8230; Get-Eventlog -logName System This queries all events in System event. Get-EventLog -LogName System &#124; ? {$_.Entrytype -match &#8220;error&#8221; } This queries all error events [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-8380"></div></div><p>PowerShell has a built in cmdlet(Get-Eventlog) which directly interacts with Event Viewer. You can query the data in the way you want using this cmdlet. Below are some of the examples&#8230;</p>
<blockquote><p>Get-Eventlog -logName System</p></blockquote>
<p>This queries all events in System event.</p>
<blockquote><p>Get-EventLog -LogName System | ? {$_.Entrytype -match &#8220;error&#8221; }</p></blockquote>
<p>This queries all error events in System event viewer.</p>
<blockquote><p>$fromtime = (get-date).Adddays(-1)</p>
<p>Get-EventLog -LogName System | ? {$_.Entrytype -match &#8220;error&#8221; -and $_.timegenerated -gt $fromtime }</p></blockquote>
<p>This queries all error events in last one day. You can similarly use the methods of (get-date) to query events in last few seconds, minutes, hours, days, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/windows-7/query-for-error-events-in-event-log-using-powershell/837/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

