<?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>Sys Admin Tales &#187; Scripting</title>
	<atom:link href="http://www.meltivore.com/category/scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.meltivore.com</link>
	<description>The endless search for the Any key</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:32:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Activate Windows and Office at the Command Line</title>
		<link>http://www.meltivore.com/2012/activate-windows-and-office-at-the-command-line/</link>
		<comments>http://www.meltivore.com/2012/activate-windows-and-office-at-the-command-line/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 01:31:15 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=815</guid>
		<description><![CDATA[I was recently looking for a way to activate Windows 7 and Office 2010 at a command prompt; this is what I found&#8230; Since the release of Vista, you can use the command line utility slmgr for Windows activation when using a MAK (or Multiple Activation Key). Windows Activation Open a command window (as administrator) And run&#8230; slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx slmgr [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently looking for a way to activate Windows 7 and Office 2010 at a command prompt; this is what I found&#8230;</p>
<p>Since the release of Vista, you can use the command line utility <strong>slmgr</strong> for Windows activation when using a MAK (or <a title="MAK" href="http://en.wikipedia.org/wiki/Multiple_activation_key" target="_blank">Multiple Activation Key</a>).</p>
<p><span style="color: #800000;"><strong>Windows Activation</strong></span></p>
<ol>
<li>Open a command window (<a title="Run As Administrator" href="http://en.wikipedia.org/wiki/Run_as_administrator" target="_blank">as administrator</a>)</li>
<li>And run&#8230;</li>
</ol>
<p><span style="font-weight: bold;">slmgr -ipk </span><span style="color: #800000;"><strong>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</strong></span><br />
<span style="font-weight: bold;">slmgr -ato</span></p>
<p><span style="color: #800000;"><strong>Office Activation</strong></span></p>
<ol>
<li><span style="color: #000000;">Open a command window (<a title="Run As Administrator" href="http://en.wikipedia.org/wiki/Run_as_administrator" target="_blank">as administrator</a>)</span></li>
<li><span style="color: #000000;">From </span><strong><em>C:\Program Files\Microsoft Office\Office14</em> </strong>run&#8230;</li>
</ol>
<p><strong>cscript ospp.vbs /inpkey:<span style="color: #800000;">xxxxx-xxxxx-xxxxx-xxxxx-xxxxx<br />
</span></strong><span style="font-weight: bold;">cscript ospp.vbs /act</span></p>
<p>Who needs all that pointing and clicking anyway?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2012/activate-windows-and-office-at-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freeware Utilities</title>
		<link>http://www.meltivore.com/2011/freeware-utilities/</link>
		<comments>http://www.meltivore.com/2011/freeware-utilities/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 00:29:03 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=596</guid>
		<description><![CDATA[I&#8217;m always looking for more utilities to add to my arsenal for scripting, automating and generally freeing up time for other tasks, like sipping a fresh coffee ;^) Over the past few months I&#8217;ve been pointed to, or found, four more sites chock full of tasty utilities. AnalogX has a varied collection covering network, system, programming, even [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m always looking for more utilities to add to my arsenal for scripting, automating and generally freeing up time for other tasks, like sipping a fresh coffee ;^)</p>
<p>Over the past few months I&#8217;ve been pointed to, or found, four more sites chock full of tasty utilities.</p>
<ul>
<li><a title="AnalogX System Utilites" href="http://www.analogx.com/contents/download/system.htm" target="_blank">AnalogX</a> has a varied collection covering network, system, programming, even audio utilities.</li>
<li><a title="joeware's free tools" href="http://www.joeware.net/freetools/index.htm" target="_blank">joeware</a> has a whole pile of free tools, many related to Active Directory, account management and networking.</li>
<li><a title="NirSoft" href="http://www.nirsoft.net/utils/index.html" target="_blank">NirSoft</a> has an impressive array of tools for forensics, networking, systems, passwords and a whole lot more. They also have a <a title="NirSoft Blog" href="http://blog.nirsoft.net/" target="_blank">blog</a> so you can keep posted on updates and additions.</li>
<li><a title="Optimum X" href="http://optimumx.com/downloads.html" target="_blank">Optimum X</a> has a decent list of network, software and login utilities. Although some are a bit long in the tooth (one is from 9/98), there&#8217;s still some gold here.</li>
</ul>
<p>These should keep you busy for at least a few minutes. And as always they&#8217;re my favorite price, <strong><em>free</em></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/freeware-utilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Fails for Some Outlook or OWA Users</title>
		<link>http://www.meltivore.com/2011/search-fails-for-some-outlook-or-owa-users/</link>
		<comments>http://www.meltivore.com/2011/search-fails-for-some-outlook-or-owa-users/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 01:37:12 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=716</guid>
		<description><![CDATA[Due to a recent power outage at a client site, their Exchange search catalogs became corrupted. The issue at hand was that searches in Outlook or OWA only resulted in showing results prior to the outage. To confirm that this was the case, I opened the trusty EMS and ran this command on an affected individual. test-exchangesearch username [...]]]></description>
			<content:encoded><![CDATA[<p>Due to a recent power outage at a client site, their Exchange search catalogs became corrupted. The issue at hand was that searches in Outlook or OWA only resulted in showing results prior to the outage.</p>
<p>To confirm that this was the case, I opened the trusty EMS and ran this command on an affected individual.</p>
<p><strong>test-exchangesearch <span style="color: #ff0000;">username </span>| fl</strong></p>
<p>This result confirmed the <a title="Outlook Search Issue" href="http://support.microsoft.com/kb/945077" target="_blank">catalog corruption</a>:<br />
<span style="color: #800000;"><em>ResultFound : False<br />
SearchTime : -1</em></span></p>
<p>The fix is rather easy, but depending on your database size, can be rather lengthy. The script below stops the Microsoft Exchange Search Indexer, deletes the Catalog of the database in question and restarts the Indexer which fires off a complete rebuild.</p>
<p>You can find the script here (<em>from where it must be run</em>): <var><span style="color: #ff0000;"><strong>&lt;drive&gt;</strong></span></var>:\Program Files\Microsoft\Exchange Server\Scripts</p>
<p>Syntax: <strong>ResetSearchIndex.ps1 -force <span style="color: #ff0000;">&lt;database&gt;</span></strong></p>
<p>Example: <strong>ResetSearchIndex.ps1 -force &#8220;<span style="color: #ff0000;">Mailbox One</span>&#8220;</strong></p>
<p>The rebuilding of our catalogs took almost an hour for a 80GB database. And that was on a fairly powerful system with 32GB of RAM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/search-fails-for-some-outlook-or-owa-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to Export a Mailbox to PST</title>
		<link>http://www.meltivore.com/2011/script-to-export-a-mailbox-to-pst/</link>
		<comments>http://www.meltivore.com/2011/script-to-export-a-mailbox-to-pst/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 05:31:25 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=635</guid>
		<description><![CDATA[With an occasional need to export a user mailbox to PST for archive, I decided it would be useful to be able to call up a script and save myself some time and mouse clicking. Should you wish to give the script below a try, copy it into a text file and change the extension to [...]]]></description>
			<content:encoded><![CDATA[<p>With an occasional need to export a user mailbox to PST for archive, I decided it would be useful to be able to call up a script and save myself some time and mouse clicking.</p>
<p>Should you wish to give the script below a try, copy it into a text file and change the extension to <strong><span style="color: #993300;">.ps1</span></strong></p>
<p><em>Note: This script should be run from a system with Outlook and the <a title="Exchange Management Tools" href="http://technet.microsoft.com/en-us/library/bb232090.aspx" target="_blank">Exchange Management Tools</a> installed (they both need to be 32 or 64-bit) for this to work).</em></p>
<p><span style="color: #808080;">rem Gathering names for labeling the exported PST<br />
</span><strong>$fname = Read-Host &#8220;First name?&#8221;<br />
$lname = Read-Host &#8220;Last name?&#8221;</strong></p>
<p><span style="color: #800000;"><span style="color: #808080;">rem Assigning the current date to the $date variable<br />
<strong><span style="color: #000000;">$date = get-date -uformat &#8220;%Y_%m_%d&#8221;</span></strong><br />
</span></span></p>
<p><span style="color: #800000;"><span style="color: #808080;">rem Capturing name of mailbox account (assigning to $uname variable)</span><br />
</span><strong>$uname = Read-Host &#8220;Username?&#8221;</strong></p>
<p><span style="color: #808080;">rem Capturing admin acct that is currently logged in to add</span> <span style="color: #808080;">mailbox permissions (assigning to $admin variable)<br />
</span><strong>whoami &gt; $admin</strong></p>
<p><span style="color: #808080;">rem Adding permissions for admin allowing export</span><br />
<strong>Add-MailboxPermission -AccessRights FullAccess -Identity $uname -User $admin</strong></p>
<p><span style="color: #808080;">rem Exporting mailbox to D:\PSTs (<em>change path to your liking</em>)</span><br />
<strong>Export-Mailbox -Identity $uname -PSTFolderPath <span style="color: #ff0000;">D:\PSTs</span><span style="color: #000000;">\</span>$fname&#8221;_&#8221;$lname&#8221;_&#8221;$date.pst</strong></p>
<p>If at some point I get time or get paid to do so, I&#8217;ll make a script to allow the use of a list for mass export.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/script-to-export-a-mailbox-to-pst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursively Add Public Folder Permissions</title>
		<link>http://www.meltivore.com/2011/recursively-add-public-folder-permissions/</link>
		<comments>http://www.meltivore.com/2011/recursively-add-public-folder-permissions/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 21:00:48 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=627</guid>
		<description><![CDATA[Last week I found myself having to export (for archival) and remove a large tree of Public Folders. I thought the task would be easy, open Outlook, highlight the top level folder and Export to PST. Little did I know someone changed the top-level permissions of the folder I previously created, removing any admins from [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I found myself having to export (for archival) and remove a large tree of Public Folders. I thought the task would be easy, open Outlook, highlight the top level folder and Export to PST.</p>
<p>Little did I know someone changed the top-level permissions of the folder I previously created, removing any admins from the list, so any new folder in the tree inherited the lack of admin rights. Now I had to change permissions on 472 folders, not something to be done individually.</p>
<p>A short <a title="Thanks MM!" href="http://martinmeddle.wordpress.com/2010/02/18/adding-permissions-to-exchange-2007-public-folders/" target="_blank">search</a> yielded just the info I needed. There is a script called <strong>AddUsersToPFRecursive.ps1</strong> in the <em>\Microsoft\Exchange Server\Mailbox\Scripts</em> directory; use and syntax is below.</p>
<p><span style="color: #ff0000;">AddUsersToPFRecursive.ps1 -toppublicfolder <strong>\Finance</strong> -User &#8220;<strong>Joe Admin</strong>&#8221; -Permissions <strong>Owner</strong> -Confirm:$False</span></p>
<p>Change the <strong>-toppublicfolder</strong> to \ or \Marketing\Calendars, whatever suits your needs. And be sure to add the <strong>-Confirm:$False</strong> switch, otherwise you will have to hit Enter (or Yes) for every folder change. Don&#8217;t ask me how I know&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/recursively-add-public-folder-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell: Execution of scripts is disabled</title>
		<link>http://www.meltivore.com/2011/powershell-execution-of-scripts-is-disabled/</link>
		<comments>http://www.meltivore.com/2011/powershell-execution-of-scripts-is-disabled/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 22:53:20 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=606</guid>
		<description><![CDATA[This information is available on many sites, but I&#8217;m tired of searching for it every few months when I switch laptops/tablets. Whenever you try to run an unsigned PowerShell script, you get the following message: &#8220;File C:\Custom\Test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see &#8220;get-help about_signing&#8221; for [...]]]></description>
			<content:encoded><![CDATA[<p>This information is available on many sites, but I&#8217;m tired of searching for it every few months when I switch laptops/tablets.</p>
<p>Whenever you try to run an unsigned PowerShell script, you get the following message: <em><span style="color: #993300;">&#8220;File <span style="color: #000000;">C:\Custom\Test.ps1</span> cannot be loaded because the execution of scripts is disabled on this system. Please see &#8220;get-help about_signing&#8221; for more details.&#8221;</span></em></p>
<p><span style="color: #000000;">I certainly believe Microsoft is doing the right thing with keeping PowerShell script execution secure with the proliferation of malware and 99%+ of Windows users don&#8217;t even know about PowerShell.</span></p>
<p><span style="color: #000000;">Changing the PowerShell security setting is a simple affair. Open PowerShell as an <em>Administrator</em> and run the following: </span><span style="color: #000000;"><strong>Set-ExecutionPolicy</strong></span></p>
<p><span style="color: #000000;">Your choices are:<br />
<strong>Restricted</strong> (default) &#8211; Which stops all unsigned scripts from running.<br />
<strong>AllSigned</strong> &#8211; This allows only signed scripts to run.<br />
<strong>RemoteSigned</strong> (<em>my recommendation</em>) &#8211; Allows local scripts to run, but all downloaded or remotely executed must be signed.<br />
<strong>Unrestricted</strong> (not recommended) &#8211; This allows all scripts to execute, whether from an e-mail, website or instant message.</span></p>
<p><span style="color: #000000;">Syntax: <strong><span style="color: #ff0000;">Set-ExecutionPolicy RemoteSigned</span></strong></span><span style="color: #000000;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/powershell-execution-of-scripts-is-disabled/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting the Out of Office Reply at the Command Line</title>
		<link>http://www.meltivore.com/2011/setting-the-out-of-office-reply-at-the-command-line/</link>
		<comments>http://www.meltivore.com/2011/setting-the-out-of-office-reply-at-the-command-line/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 19:35:24 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=574</guid>
		<description><![CDATA[If you&#8217;ve ever had to set someone&#8217;s (like a VP&#8217;s) Out of Office message because they left town before doing so, and of course don&#8217;t have access to Outlook Web Access, it can be quite a disruption to your work. Recently I was surfing Jim McBee&#8216;s blog and found this gem, which he in turn [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever had to set someone&#8217;s (<em>like a VP&#8217;s</em>) Out of Office message because they left town before doing so, and of course don&#8217;t have access to Outlook Web Access, it can be quite a disruption to your work. Recently I was surfing <a title="Jim McBee" href="http://www.blogger.com/profile/12529782615646312157" target="_blank">Jim McBee</a>&#8216;s blog and found this gem, which he in turn had gotten from Bharat Suneja and the <a title="Exchange Team Blog" href="http://blogs.technet.com/b/exchange/" target="_blank">Exchange team</a>.</p>
<p>Just replace the text in <span style="color: #ff0000;"><strong>bold red </strong></span>and run it in an Exchange Command Shell:</p>
<p>Set-MailboxAutoReplyConfiguration <span style="color: #ff0000;"><strong>jsmith@contoso.com</strong></span> –AutoReplyState Scheduled –StartTime “<span style="color: #ff0000;"><strong>11/2/2011</strong></span>” –EndTime “<strong><span style="color: #ff0000;">11/9/2011</span></strong>” –ExternalMessage “<span style="color: #ff0000;"><strong>External OOF message</strong></span>” –InternalMessage “<span style="color: #ff0000;"><strong>Internal OOF message</strong></span>”</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/setting-the-out-of-office-reply-at-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AD Recycle Bin Tool</title>
		<link>http://www.meltivore.com/2011/ad-recycle-bin-tool/</link>
		<comments>http://www.meltivore.com/2011/ad-recycle-bin-tool/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 22:53:20 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=569</guid>
		<description><![CDATA[Last year Windows IT Pro magazine highlighted ADRecycleBin from Overall Solutions. It&#8217;s an excellent free utility to bring back deleted items (or reanimate for earlier Active Directory installations than 2008 R2). It&#8217;s a very nice alternative to the built-in feature in Windows Server 2008 R2 and is a drastic improvement over item recovery in earlier versions of [...]]]></description>
			<content:encoded><![CDATA[<p>Last year <a title="Windows IT Pro Magazine" href="http://www.windowsitpro.com/" target="_blank">Windows IT Pro</a> magazine highlighted <a title="AD Recycle Bin" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=40&amp;Itemid=66" target="_blank">ADRecycleBin</a> from <a title="Overall Solutions" href="http://www.overall.ca" target="_blank">Overall Solutions</a>. It&#8217;s an excellent <em style="font-weight: bold;">free </em>utility to bring back deleted items (or reanimate for earlier Active Directory installations than 2008 R2).</p>
<p>It&#8217;s a very nice alternative to the built-in feature in <a title="Windows Server 2008 R2 AD Recycle Bin" href="http://technet.microsoft.com/en-us/library/dd392261(WS.10).aspx" target="_blank">Windows Server 2008 R2</a> and is a drastic improvement over <a title="How to restore deleted user accounts" href="http://support.microsoft.com/?kbid=840001" target="_blank">item recovery</a> in earlier versions of Active Directory with a great GUI interface.</p>
<p>They have a couple of other<a title="More Cool Stuff!" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=33&amp;Itemid=15" target="_blank"> interesting products</a> in <a title="Maven" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=13&amp;Itemid=15" target="_blank">Maven</a>, <a title="ResetPass" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=26&amp;Itemid=64" target="_blank">ResetPass</a> and <a title="Action Engine" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=32&amp;Itemid=64" target="_blank">Action Engine</a>, not everything is free, but it&#8217;s close.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/ad-recycle-bin-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sysinternals</title>
		<link>http://www.meltivore.com/2011/sysinternals/</link>
		<comments>http://www.meltivore.com/2011/sysinternals/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 23:24:42 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=564</guid>
		<description><![CDATA[If you&#8217;re in IT working with Windows and haven&#8217;t heard of Sysinternals, you may want to check to see if you&#8217;ve been living under a rock. Sysinternals started as the community or free arm of Winternals, the money making portion of the company. Microsoft purchased Winternals back in 2006 for its IP and brain-trust. Mark [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re in IT working with Windows and haven&#8217;t heard of <a title="Windows Sysinternals" href="http://technet.microsoft.com/en-us/sysinternals/default.aspx" target="_blank">Sysinternals</a>, you may want to check to see if you&#8217;ve been living under a rock.</p>
<p>Sysinternals started as the community or free arm of <a title="Winternals" href="http://en.wikipedia.org/wiki/Winternals" target="_blank">Winternals</a>, the money making portion of the company. Microsoft purchased Winternals back in 2006 for its IP and brain-trust. <a title="Mark's Bio" href="http://blogs.technet.com/b/markrussinovich/about.aspx" target="_blank">Mark Russinovich</a> has been the most active of the original staff, appearing at numerous conferences, blogging and evangelising the Microsoft operating systems.</p>
<p>The Sysinternals site has numerous, extremely useful troubleshooting and informational utilities; so much so I could devote this blog to their tools for the next year or three. Since access to the site is free, as are the downloads, help files and instructions, I&#8217;ll just highlight a few things here&#8230;</p>
<p><strong><a title="Utilities Index" href="http://technet.microsoft.com/en-us/sysinternals/bb545027" target="_blank">Utilities</a>:<br />
</strong><em><span style="color: #b22222;">Autoruns</span></em> &#8211; Displays list of applications, drivers loaded and much more, that start at boot time. Includes locations of registry and file locations. Great for hunting malware.<br />
<em><span style="color: #b22222;"> Process Explorer</span></em> &#8211; Displays all running processes and subprocesses, plus open handles, threads, paths, a veritable cornucopia of information. Task manager wishes it was this great.<br />
<em><span style="color: #b22222;"> Process Monitor</span></em> &#8211; Allows you to monitor file system, registry, process, thread and DLL activity in real-time.<br />
<em><span style="color: #b22222;">TCPView</span></em> &#8211; Get detailed listings of all TCP and UDP endpoints on your system, including source and destination.</p>
<p>The <a title="Learning Resources" href="http://technet.microsoft.com/en-us/sysinternals/bb469930" target="_blank">Learning Resources</a> are also impressive, with great videos and articles .</p>
<p>And as I mentioned, this is all <strong><em>free</em></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/sysinternals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WMIC to the Rescue</title>
		<link>http://www.meltivore.com/2011/wmic-to-the-rescue/</link>
		<comments>http://www.meltivore.com/2011/wmic-to-the-rescue/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 21:21:14 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=529</guid>
		<description><![CDATA[A recent project had me trying to script the retrieval of the Dell Service Tag. Luckily there&#8217;s WMI Command-line to the rescue. From a command line or in a script wmic bios get serialnumber will display or grab the Dell Service Tag. Furthermore, you can use the WMI Command-line to retrieve all kinds of system data and even make [...]]]></description>
			<content:encoded><![CDATA[<p>A recent project had me trying to script the retrieval of the Dell Service Tag. Luckily there&#8217;s <a title="WMIC Info" href="http://technet.microsoft.com/en-us/library/bb742610.aspx" target="_blank">WMI Command-line</a> to the rescue.</p>
<p>From a command line or in a script <strong><em>wmic bios get serialnumber</em></strong> will display or grab the Dell Service Tag.</p>
<p>Furthermore, you can use the WMI Command-line to retrieve all kinds of system data and even make configuration changes. <a title="RVDW" href="http://www.robvanderwoude.com/" target="_blank">Rob van der Woude</a>&#8216;s great site on scripting has a great primer and examples on using WMIC. <a title="TechNet Magazine" href="http://technet.microsoft.com/en-us/magazine/default.aspx" target="_blank">TechNet Magazine</a> also has a <a title="WMIC for System Info" href="http://technet.microsoft.com/en-us/magazine/2006.09.wmidata.aspx" target="_blank">very useful article</a> on gathering system data using WMIC in your environment.</p>
<p>Finally, checkout the <a title="WMI Admin Tools Download" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=24045" target="_blank">WMI Admin Tools</a> pack. It contains more than I want to type about here, but it gives you the ability to browse the various objects, classes and properties, plus a custom event viewer and much more. Check it out and make your (administrative) life better.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/wmic-to-the-rescue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

