<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>xcud</title><generator>Tumblr (3.0; @xcud)</generator><link>http://xcud.com/</link><item><title>Texas. We messed with you (by cleaning up the beach a bit) and...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m1htbqbPbu1qznqbko1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Texas. We messed with you (by cleaning up the beach a bit) and got away scot-free!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://xcud.com" title="The answer"&gt;ae58e953-9c1b-4f9a-afa9-1f0a97f9f0eb&lt;/a&gt; &lt;a href="https://www.google.com/search?q=ae58e953-9c1b-4f9a-afa9-1f0a97f9f0eb"&gt;+&lt;/a&gt;&lt;/p&gt;</description><link>http://xcud.com/post/19951456185</link><guid>http://xcud.com/post/19951456185</guid><pubDate>Mon, 26 Mar 2012 07:57:00 -0500</pubDate></item><item><title>Microsoft DFAgent stopped working</title><description>&lt;p&gt;While debugging an Azure project a couple of weeks ago the Azure Emulator startup process kept throwing the unhandled exception &amp;#8220;A heap has been corrupted.&amp;#8221;&lt;/p&gt;
&lt;p&gt;After poking around for a bit looking for x86/x64 settings compat problems I remembered that as a part of some PowerShell v3 testing I&amp;#8217;d done earlier in the week on this same machine I&amp;#8217;d set a registry key so that PowerShell would use the latest CLR. Unwinding those registry keys seems to have resolved the DFAgent error.&lt;/p&gt;
&lt;p&gt;Run these commands to unwind the &amp;#8216;OnlyUserLatestCLR&amp;#8217; change on your machine (the 2nd line only applies to x64):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;reg add hklm\software\microsoft&amp;#46;netframework /v OnlyUseLatestCLR /t REG_DWORD /d 0&lt;/p&gt;
&lt;p&gt;reg add hklm\software\wow6432node\microsoft&amp;#46;netframework /v OnlyUseLatestCLR /t REG_DWORD /d 0&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://xcud.com/post/19951344244</link><guid>http://xcud.com/post/19951344244</guid><pubDate>Mon, 26 Mar 2012 07:51:50 -0500</pubDate><category>azure</category><category>emulator</category><category>heap</category><category>corrupted</category><category>powershell</category><category>.net</category></item><item><title>Dude, where's my database?</title><description>&lt;p&gt;If you&amp;#8217;re like me you may have be using a specific type of SQL database known as a &amp;#8216;User Instance&amp;#8217; without knowing what it is or how it works. You&amp;#8217;d never known there was anything unusual until you tried to access your database from outside of Visual Studio. For example, in Microsoft SQL Server Management Studio &amp;#8230;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/benvierck/6818921750/"&gt;&lt;img alt="" src="http://26.media.tumblr.com/tumblr_m0l1anYzUz1qznqbko1_500.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dude, where&amp;#8217;s my database?&lt;/p&gt;
&lt;p&gt;No worries. First, make sure your app is running. The database is started at app runtime by Visual Studio. Once your app is running execute this SQL statement in SQL Server Management Studio:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;SELECT owning_principal_name, instance_pipe_name, heart_beat FROM sys.dm_os_child_instances&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/benvierck/6818921764/"&gt;&lt;img src="http://25.media.tumblr.com/tumblr_m0l1bhtDiQ1qznqbko1_500.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Take note of the named pipe that&amp;#8217;s alive. That&amp;#8217;s where your database is hiding. Copy the pipe name.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/benvierck/6818921838/"&gt;&lt;img src="http://24.media.tumblr.com/tumblr_m0l1c0mZE41qznqbko1_500.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open up the &amp;#8216;Connect to Server&amp;#8217; dialog and paste in your named pipe address. Hit Connect.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/benvierck/6818921788/"&gt;&lt;img src="http://25.media.tumblr.com/tumblr_m0l1clZShp1qznqbko1_500.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dude, there&amp;#8217;s your database.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/benvierck/6965043399/"&gt;&lt;img src="http://27.media.tumblr.com/tumblr_m0l1d42VfS1qznqbko1_500.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://xcud.com/post/18959830030</link><guid>http://xcud.com/post/18959830030</guid><pubDate>Thu, 08 Mar 2012 14:24:00 -0600</pubDate><category>sql</category><category>user instance</category><category>sqlexpress</category></item><item><title>What is Windows Azure?</title><description>&lt;p&gt;&lt;em&gt;60 Second Answer:&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Windows Azure is a cloud OS serviced by Microsoft. The Windows Azure cloud OS has three core components: &lt;strong&gt;Compute&lt;/strong&gt;, &lt;strong&gt;Storage&lt;/strong&gt;, and &lt;strong&gt;Fabric&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;Each Compute instance is a virtual machine. Applications in Windows Azure utilize Compute resources through one or more Compute containers called “roles”. Roles come in three different types: &lt;strong&gt;Web&lt;/strong&gt; (a dedicated web server), &lt;strong&gt;Worker&lt;/strong&gt; (asynchronous, long-running or perpetual tasks independent of user interaction or input), and &lt;strong&gt;Virtual Machine&lt;/strong&gt; (for Legacy apps; a Windows Server 2008 R2 VM).&lt;/p&gt;
&lt;p&gt;Storage resources include are available through &lt;strong&gt;SQL Azure&lt;/strong&gt;, &lt;strong&gt;BLOB&lt;/strong&gt; (Binary Large Object) storage, &amp;amp; &lt;strong&gt;Table&lt;/strong&gt; storage (aka NOSQL). SQL Azure allows users to make relational queries against stored data. BLOB Storage is a simple way to store unstructured text or binary data such as video, audio and images. Table Storage stores structured data but it does not provide a way to represent relationships between the data.&lt;/p&gt;
&lt;p&gt;Fabric resources are the &lt;strong&gt;kernel&lt;/strong&gt; of Windows Azure distributed cloud OS. They provides scheduling, resource allocation, device management, and fault tolerance for the nodes in the Fabric. They also provides high-level application models for intelligently managing the complete application lifecycle, including deployment, health monitoring, upgrades, and deactivation.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;10 Second Answer:&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;To be continued (soliciting feedback from twitter) &amp;#8230;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;br/&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;References:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.windowsazure.com/en-us/home/features/overview/" title="Windows Azure Overview"&gt;&lt;a href="http://www.windowsazure.com/en-us/home/features/overview/"&gt;http://www.windowsazure.com/en-us/home/features/overview/&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Azure_Services_Platform" title="Wikipedia: Azure Services Platform"&gt;&lt;a href="http://en.wikipedia.org/wiki/Azure_Services_Platform"&gt;http://en.wikipedia.org/wiki/Azure_Services_Platform&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Twitter: &lt;a href="https://twitter.com/#!/search/realtime/%23WhatIsAzure" title="Search Twitter: What Is Azure?"&gt;#WhatIsAzure&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://xcud.com/post/18846503675</link><guid>http://xcud.com/post/18846503675</guid><pubDate>Tue, 06 Mar 2012 08:07:00 -0600</pubDate><category>azure</category><category>cloud</category><category>OS</category></item><item><title>Add Yammer to Chrome Apps</title><description>&lt;p&gt;Yammer SHOULD be in the Chrome App Store but isn&amp;#8217;t. &lt;a title="Yammer Feedback on adding themselves to the Chrome App Store" href="http://yammer.uservoice.com/forums/22714-general-feedback/suggestions/1877033-put-a-hosted-app-in-the-chrome-app-store"&gt;Tell them so&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm6.static.flickr.com/5221/5765373698_268d4c7582.jpg" alt="Yammer in Chrome Apps" width="500" height="178"/&gt;&lt;/p&gt;
&lt;p&gt;In the meantime, you can add them into your own personal apps by following these 5 simple steps:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Download and unzip this manifest/icon app folder for Yammer: &lt;a title="yammer_app.zip" href="http://db.tt/64K0l8W"&gt;&lt;a href="http://db.tt/64K0l8W"&gt;http://db.tt/64K0l8W&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Open up the Chrome Extension by clicking the wrench icon, choosing &amp;#8216;Tools&amp;#8217;, then choosing &amp;#8216;Extensions&amp;#8217;&lt;/li&gt;
&lt;li&gt;Click the &amp;#8216;+&amp;#8217; next to &amp;#8216;Developer mode&amp;#8217; to open up the developer tools&lt;/li&gt;
&lt;li&gt;Click the &amp;#8216;Load unpacked extension&amp;#8217; button&lt;/li&gt;
&lt;li&gt;Navigate to the unzipped yammer_app folder, click &amp;#8216;OK&amp;#8217;&lt;/li&gt;
&lt;/ol&gt;</description><link>http://xcud.com/post/5898933997</link><guid>http://xcud.com/post/5898933997</guid><pubDate>Fri, 27 May 2011 10:32:00 -0500</pubDate></item><item><title>Get-NetworkStatistics (or 'netstat' for PowerShell)</title><description>&lt;p&gt;Shay Levy did an excellent PowerShellization of &amp;#8216;netstat&amp;#8217; (&lt;a href="http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2011/02/10/How-to-find-running-processes-and-their-port-number.aspx" title="How to find running processes and their port number"&gt;link&lt;/a&gt;) on his blog back in February. JRich also had an excellent take on implementing NetStat in PowerShell (&lt;a href="http://jrich523.wordpress.com/2011/04/15/netstat-for-powershell/" title="JRich NetStat for powershell"&gt;link&lt;/a&gt;). There is also a simple one-liner &lt;em&gt;[net.NetworkInformation.IPGlobalProperties]::GetIPGlobalProperties().GetActiveTcpConnections()&lt;/em&gt; that will get you Tcp connection information without the process information but IMHO the info provided is practically useless in most real world scenarios without the process info.&lt;/p&gt;
&lt;p&gt;One can argue over which solution is more PowerShellicous, &amp;#8220;inlining c#&amp;#8221; or &amp;#8220;scraping cmd output&amp;#8221;. Meanwhile while that flame war is happening I&amp;#8217;ll be over here extending either of these solutions because PowerShell is awesome like that. Here I added filtering to the Shay&amp;#8217;s solution. &lt;strong&gt;Behold&lt;/strong&gt;:&lt;/p&gt;
&lt;pre class="psh"&gt;PS C:\Users\ben&amp;gt; Get-NetworkStatistics skype | ft -AutoSize

Protocol LocalAddress LocalPort RemoteAddress RemotePort State     ProcessName PID 
-------- ------------ --------- ------------- ---------- -----     ----------- --- 
TCP      0.0.0.0      443       0.0.0.0       0          LISTENING Skype       4068
TCP      0.0.0.0      9841      0.0.0.0       0          LISTENING Skype       4068

PS C:\Users\ben&amp;gt; Get-NetworkStatistics -ProcessId 3368


Protocol      : TCP
LocalAddress  : 192.168.10.115
LocalPort     : 49899
RemoteAddress : 204.152.18.196
RemotePort    : 443
State         : ESTABLISHED
ProcessName   : chrome
PID           : 3368

&lt;/pre&gt;
&lt;p&gt;Here&amp;#8217;s the &lt;a href="https://bitbucket.org/xcud/powershell-snippets/src/d1b171f2d6c5/Get-NetworkStatistics.psm1" title="bitbucket/xcud Get-NetworkStastics"&gt;source&lt;/a&gt;:&lt;/p&gt;
&lt;script src="https://bitbucket.org/xcud/powershell-snippets/src/d1b171f2d6c5/Get-NetworkStatistics.psm1?embed=t" type="text/javascript"&gt;&lt;/script&gt;</description><link>http://xcud.com/post/5872186891</link><guid>http://xcud.com/post/5872186891</guid><pubDate>Thu, 26 May 2011 14:28:00 -0500</pubDate><category>powershell</category><category>netstat</category></item><item><title>Change the welcome background image in Windows7:
Set this key...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_leo2djU9fR1qznqbko1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Change the welcome background image in Windows7:&lt;/p&gt;
&lt;p&gt;Set this key value to 1: HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background\OEMBackground&lt;/p&gt;
&lt;p&gt;Overwriting this file: %windir%\system32\oobe\info\backgrounds\backgroundDefault.jpg&lt;/p&gt;</description><link>http://xcud.com/post/2641496091</link><guid>http://xcud.com/post/2641496091</guid><pubDate>Fri, 07 Jan 2011 16:01:00 -0600</pubDate><category>windows7</category><category>registry</category></item><item><title>Back from #MMS2010</title><description>&lt;iframe src="http://player.vimeo.com/video/11176632" width="400" height="300" frameborder="0"&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Back from #MMS2010&lt;/p&gt;</description><link>http://xcud.com/post/544524965</link><guid>http://xcud.com/post/544524965</guid><pubDate>Fri, 23 Apr 2010 21:54:00 -0500</pubDate></item><item><title>Get Process Owners</title><description>&lt;p&gt;I really like the &lt;a href="http://twitter.com/PowerTip"&gt;@PowerTip&lt;/a&gt; blog series but I find myself wanting to talk back with more than 120 characters. &lt;strike&gt;Please enable comments &lt;/strike&gt;&lt;a href="http://twitter.com/PowerTip"&gt;&lt;strike&gt;@PowerTip&lt;/strike&gt;&lt;/a&gt;&lt;strike&gt;.&lt;/strike&gt; Comments &lt;strong&gt;are&lt;/strong&gt; enabled for authenticated users. &lt;strike&gt;In the meantime, I&amp;#8217;ll blog my comments.&lt;/strike&gt;&lt;/p&gt;
&lt;p&gt;re: &lt;a href="http://powershell.com/cs/blogs/tips/archive/2009/12/17/get-process-owners.aspx"&gt;Get Process Owners&lt;/a&gt;&lt;/p&gt;
&lt;pre class="psh"&gt;function Get-PSOwner($searchString)
{	
    $foundProcess = ps $searchString
    if($foundProcess -eq $null) { return; }
    gwmi Win32_Process -Filter ("Handle={0}" -f $foundProcess.id ) | 
        % { Add-Member `
            -InputObject $_ `
            -MemberType NoteProperty `
            -Name Owner `
            -Value ($_.GetOwner().User) `
            -PassThru } | 
        select Name, Handle, Owner
}&lt;/pre&gt;
&lt;p&gt;The four minor changes I made to the &lt;a href="http://twitter.com/PowerTip"&gt;@PowerTip&lt;/a&gt; script are: 1) it&amp;#8217;s functionized, 2) the input is a search string for process (wildcards accepted), 3) it spits out the correct errors if the process can&amp;#8217;t be found, and 4) the process handle is added to the results.&lt;/p&gt;
&lt;p&gt;Download the script here: &lt;a href="http://bitbucket.org/xcud/powershell-snippets/src/tip/Get-PSOwner.psm1"&gt;&lt;a href="http://bitbucket.org/xcud/powershell-snippets/src/tip/Get-PSOwner.psm1"&gt;http://bitbucket.org/xcud/powershell-snippets/src/tip/Get-PSOwner.psm1&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://xcud.com/post/287677877</link><guid>http://xcud.com/post/287677877</guid><pubDate>Thu, 17 Dec 2009 11:06:00 -0600</pubDate><category>powershell</category><category>powertip</category><category>get-process</category></item><item><title>Get-DominosOrderStatus, a profound poshcode contribution</title><description>&lt;p&gt;(tongue set firmly in cheek)&lt;/p&gt;
&lt;p&gt;I happened upon Dana Merrick&amp;#8217;s &lt;a href="http://shakti.trincoll.edu/~dmerrick/dominos.html"&gt;blog entry&lt;/a&gt; with a ruby script that retrieves an order status from dominos. In the spirit of &amp;#8220;&lt;a href="http://en.wikipedia.org/wiki/Anything_You_Can_Do_%28song%29"&gt;anything you can do I can do better&lt;/a&gt;&amp;#8221; i threw this Psh equivalent together and submitted it to &lt;a href="http://poshcode.org/1355"&gt;PoshCode.org&lt;/a&gt;. It&amp;#8217;s phenomenally simple. It makes a request to the Dominos SOAP order status service and selects and displays the order status nodes if they exist.&lt;/p&gt;
&lt;pre class="psh"&gt;function Get-DominosOrderStatus($pn) {
  [xml]$content = (new-object System.Net.WebClient).DownloadString(
    "http://trkweb.dominos.com/orderstorage/GetTrackerData?Phone=$pn");
  $statii = select-xml -xml @($content) `
    -Namespace @{dominos="http://www.dominos.com/message/"} `
    -XPath descendant::dominos:OrderStatus
  if($statii.Count -gt 0) { $statii | %{ $_.Node } }
  else { "No orders" }
}&lt;/pre&gt;
&lt;p&gt;Sample Output:&lt;/p&gt;
&lt;pre class="psh"&gt;Version               : 1.3
OrderAsOfTime         : 2008-06-04T16:40:48
StoreAsOfTime         : 2008-06-04T16:44:55
StoreID               : 3189
OrderID               : 2008-06-04#73694
Phone                 : 3145551234
ServiceMethod         : Delivery
AdvancedOrderTime     :
OrderDescription      : 2 Small(10") Hand Tossed Pizza

OrderTakeCompleteTime : 2008-06-04T16:27:52
TakeTimeSecs          : 0
CsrID                 : Power
CsrName               :
OrderSourceCode       : Web
OrderStatus           : Out the Door
StartTime             : 2008-06-04T16:27:52
MakeTimeSecs          : 237
OvenTime              : 2008-06-04T16:31:49
OvenTimeSecs          : 360
RackTime              : 2008-06-04T16:37:49
RackTimeSecs          : 179
RouteTime             : 2008-06-04T16:40:48
DriverID              : 0818
DriverName            : Edna
OrderDeliveryTimeSecs :
DeliveryTime          :
OrderKey              : 1dRprcnzmWxaOXvlzj06OlFdzuexcIC/
ManagerID             : 5560
ManagerName           : Danillo

#text : Out the Door&lt;/pre&gt;
&lt;p&gt;You can download it here: &lt;a href="http://bitbucket.org/xcud/powershell-snippets/src/tip/Get-DominosOrderStatus.psm1"&gt;&lt;a href="http://bitbucket.org/xcud/powershell-snippets/src/tip/Get-DominosOrderStatus.psm1"&gt;http://bitbucket.org/xcud/powershell-snippets/src/tip/Get-DominosOrderStatus.psm1&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://xcud.com/post/201154160</link><guid>http://xcud.com/post/201154160</guid><pubDate>Wed, 30 Sep 2009 15:17:00 -0500</pubDate><category>powershell</category><category>dominos</category></item><item><title>Out-AnsiGraph</title><description>&lt;p&gt;Inspired by Chad Miller&amp;#8217;s work MSChart I threw this ANSI barchart module together:&lt;/p&gt;
&lt;pre class="psh"&gt;#
# Out-AnsiGraph.psm1
# Author:       xcud
# History:
#       v0.1 September 21, 2009 initial version
#
# PS Example&amp;gt; ps | select -first 5 | sort -property VM | 
#             Out-AnsiGraph ProcessName, VM
#                 AEADISRV ███ 14508032
#                  audiodg █████████ 50757632
#                  conhost █████████████ 73740288
# AppleMobileDeviceService ████████████████ 92061696
#                    btdna █████████████████████ 126443520
#
function Out-AnsiGraph($Parameter1=$null) {
	BEGIN {
		$q = new-object Collections.queue
		$max = 0; $namewidth = 0;
	}

	PROCESS {
		if($_) {
			$name = $_.($Parameter1[0]);
			$val = $_.($Parameter1[1])
			if($max -lt $val) { $max = $val}		 
			if($namewidth -lt $name.length) { 
				$namewidth = $name.length }
			$q.enqueue(@($name, $val))			
		}
	}

	END {
		$q | %{
			$graph = ""; 0..($_[1]/$max*20) | 
				%{ $graph += "█" }
			$name = "{0,$namewidth}" -f $_[0]
			"$name $graph " + $_[1]
		}

	}
}

Export-ModuleMember Out-AnsiGraph&lt;/pre&gt;
&lt;p&gt;Download the script here: &lt;a href="http://bitbucket.org/xcud/powershell-snippets/src/tip/Out-AnsiGraph.psm1"&gt;&lt;a href="http://bitbucket.org/xcud/powershell-snippets/src/tip/Out-AnsiGraph.psm1"&gt;http://bitbucket.org/xcud/powershell-snippets/src/tip/Out-AnsiGraph.psm1&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://xcud.com/post/193522355</link><guid>http://xcud.com/post/193522355</guid><pubDate>Mon, 21 Sep 2009 13:47:00 -0500</pubDate><category>powershell</category><category>chart</category></item><item><title>MSChart in Psh</title><description>&lt;p&gt;Read Chad Miller&amp;#8217;s blog entry on &lt;a title="Chad Miller's blog entry on using MSChart from Psh" href="http://chadwickmiller.spaces.live.com/blog/cns!EA42395138308430!473.entry"&gt;using MSChart from PowerShell&lt;/a&gt;. This is another great visualization extension for PowerShell. To make it work:&lt;/p&gt;
&lt;li&gt;Download and install &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=130F7986-BF49-4FE5-9CA8-910AE6EA442C&amp;amp;displaylang=en"&gt;Microsoft Chart Controls for Microsoft .NET Framework 3.5&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download &lt;a href="http://poshcode.org/1205"&gt;LibraryChart&lt;/a&gt;&lt;/li&gt;
&lt;p&gt;The easiest way to enable it is to import the library with a call to &amp;#8216;Import-Module&amp;#8217;. Now run one of the samples:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2566/3936373132_59c4f31040_o.png"&gt;&lt;img src="http://farm3.static.flickr.com/2566/3936373132_3c1dc69d22.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you see this error or one like it it&amp;#8217;s an easy fix. Edit the lib and edit the input param list in the function &amp;#8220;New-Chart&amp;#8221; from this:&lt;/p&gt;
&lt;div class="psh"&gt;param ([int]$width,[int]$height,[int]$left,[int]$top,$chartTitle)&lt;/div&gt;
&lt;p&gt;To this:&lt;/p&gt;
&lt;div class="psh"&gt;param ([int]$width,[int]$height,[int]$left,[int]$top,[string]$chartTitle)&lt;/div&gt;
&lt;p&gt;Voila. Re-import the module and the error is gone. The only item on my wish list for this lib is that it attempt to infer the X and Y fields. A call like this, for example, should be able to (but can&amp;#8217;t) infer that xField is &amp;#8216;name&amp;#8217; and yField is &amp;#8216;ws&amp;#8217;:&lt;/p&gt;
&lt;div class="psh"&gt;ps | Sort-Object WS | select name, ws -first 5 | out-chart&lt;/div&gt;
&lt;p&gt;It makes eye-candy. Check this one out. Grab the top 5 memory consuming processes and push them into a relative pie chart that auto-updates itself.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm3.static.flickr.com/2444/3935659959_fe57759a8a_o.png"/&gt;&lt;/p&gt;
&lt;div class="psh"&gt;out-chart -chartType &amp;#8216;pie&amp;#8217; -xField &amp;#8216;name&amp;#8217; -yField &amp;#8216;WS&amp;#8217; -scriptBlock { Get-Process | Sort-Object -Property WS | Select-Object Name,WS -Last 5}&lt;/div&gt;</description><link>http://xcud.com/post/192277838</link><guid>http://xcud.com/post/192277838</guid><pubDate>Sat, 19 Sep 2009 23:29:00 -0500</pubDate><category>powershell</category><category>powershell</category></item><item><title>enable 'svn commit' from PowerShell</title><description>&lt;p&gt;If you&amp;#8217;re trying to use Subversion from the PowerShell command line and you can&amp;#8217;t get around this error message:&lt;/p&gt;
&lt;div class="psh"&gt;PS C:\Users\Public\Source&amp;gt; svn commit .&lt;br/&gt;&lt;br/&gt;svn: Commit failed (details follow):&lt;br/&gt;&lt;br/&gt;svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the &amp;#8212;message (-m) or &amp;#8212;file (-F) options&lt;br/&gt;&lt;br/&gt;svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no &amp;#8216;editor-cmd&amp;#8217; run-time configuration option was found&lt;/div&gt;
&lt;p&gt;Set your SVN_EDITOR preference with this command (substituting &amp;#8220;type&amp;#8221; for your preferred editor):&lt;/p&gt;
&lt;div class="psh"&gt;PS C:\Users\Public\Source&amp;gt; set-item -path env:SVN_EDITOR -value &amp;#8220;type&amp;#8221;&lt;/div&gt;</description><link>http://xcud.com/post/188752112</link><guid>http://xcud.com/post/188752112</guid><pubDate>Tue, 15 Sep 2009 15:12:00 -0500</pubDate><category>svn</category><category>powershell</category><category>subversion</category></item><item><title>back from vacation</title><description>&lt;p&gt;Vacation pics: &lt;a href="http://www.flickr.com/photos/benvierck/sets/72157621985515336/"&gt;http://www.flickr.com/photos/benvierck/sets/72157621985515336/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m not completely back. i have not quite completed re-entry back into my daily work habits. I was a bit gobsmacked at my encounter with the ocean and our history. The vastness of the ocean which it seems to me could swallow us all up in an instant or two and not mind one bit on the one hand. The encounters with historical peoples whose very daily existence represented more adventure than I&amp;#8217;ll know in a lifetime are on the other hand.&lt;/p&gt;
&lt;p&gt;Tomorrow i&amp;#8217;ll shove this aside and do some work on the build process to make this last push to VMWord more productive and I&amp;#8217;ll get the next build ready to go for a Monday release.&lt;/p&gt;</description><link>http://xcud.com/post/158975081</link><guid>http://xcud.com/post/158975081</guid><pubDate>Sun, 09 Aug 2009 00:38:07 -0500</pubDate></item><item><title>PowerShell Version Poll</title><description>&lt;p&gt;If you use PowerShell please participate in this poll.&lt;br/&gt;&lt;br/&gt;&lt;script src="http://twtpoll.com/js/badge.js" type="text/javascript"&gt;&lt;/script&gt;&lt;script src="http://twtpoll.com/badge/?twt=bvwzeb" type="text/javascript"&gt;&lt;/script&gt;&lt;/p&gt;</description><link>http://xcud.com/post/143687707</link><guid>http://xcud.com/post/143687707</guid><pubDate>Fri, 17 Jul 2009 15:10:20 -0500</pubDate></item><item><title>The Developer Is In</title><description>&lt;p&gt;Starting next week I&amp;#8217;ll be back in an office again for the first time since September. During these first three months of early R&amp;amp;D stage my office has been wherever my laptop happens to be. We&amp;#8217;ve reached a new stage in development that requires more coordination. Tuesdays and Fridays from here out you can find me in my office down the hall from my partner. The nearer we get to release the more days I&amp;#8217;ll add to my in-office schedule.&lt;/p&gt;
&lt;p&gt;Update &amp;#8230; another milestone reached. We will unstealth soon.&lt;/p&gt;</description><link>http://xcud.com/post/67989952</link><guid>http://xcud.com/post/67989952</guid><pubDate>Fri, 02 Jan 2009 11:50:00 -0600</pubDate></item><item><title>vmxbuilder.com</title><description>&lt;p&gt;VMWare utilities maven Robert Petruska has joined forces with Devfarm. Yesterday we debuted the new site where we&amp;#8217;ll be distributing Robert&amp;#8217;s VMWare Utilities as well the new software that we&amp;#8217;ll be building together at &lt;a title="VMX Builder" href="http://vmxbuilder.com/"&gt;&lt;a href="http://vmxbuilder.com"&gt;http://vmxbuilder.com&lt;/a&gt;&lt;/a&gt;. &lt;a title="JYoseph" href="http://jyoseph.com/"&gt;JYoseph&lt;/a&gt; put together an awesome site design for us.&lt;/p&gt;
&lt;p&gt;For those keeping score at home (and starting to connect the dots) this is our second strategic rollout in the past month.&lt;/p&gt;</description><link>http://xcud.com/post/67911025</link><guid>http://xcud.com/post/67911025</guid><pubDate>Fri, 02 Jan 2009 00:21:00 -0600</pubDate></item><item><title>A Rough 30 Days</title><description>&lt;p&gt;It&amp;#8217;s been a rough 30 days. Maybe the hardest 30 I&amp;#8217;ve had to work through ever which is testament to how soft my life really is. Starting the first week back from vacation our house ran through the Flu twice. It infected everybody for a first pass over the course of 4 days then the same symptoms hit each and every one of us again for the next 2 days. A couple of days later the colds, sniffles, and sneezes hit. The next week ear infections and sinus infections. As a topper strep throat hit us this past week. Oh, and I ruptured an ear drum for good measure.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm4.static.flickr.com/3242/3142541817_c7c998ca1a.jpg?v=0"/&gt;&lt;/p&gt;
&lt;p&gt;While all this sickness was going on we got a tree, decorated the house, hosted 3 holiday get-togethers and attended 2 others. And &amp;#8230; then there&amp;#8217;s the whole matter of the startup that I SHOULD have been cranking out 12 hours a day on. Joe and I did manage to release a cool web service (see &lt;a href="http://PingVine.com"&gt;http://PingVine.com&lt;/a&gt;) that fills a niche and is powered on the back-end by Devfarm software. Still, while you enjoy your Christmas-to-New-Years holiday I&amp;#8217;ll be getting a head-start on January to make it The Best Month Ever.&lt;/p&gt;</description><link>http://xcud.com/post/67109205</link><guid>http://xcud.com/post/67109205</guid><pubDate>Sun, 28 Dec 2008 00:15:06 -0600</pubDate></item><item><title>Twitter API 417</title><description>&lt;p&gt;Twitter&amp;#8217;s servers have started returning HTTP error 417 for requests that come with an Expect header containing &amp;#8220;100-continue&amp;#8221;.  .NET automatically appends this header to every request. Before executing your WebRequest set this static property to false:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;System.Net.ServicePointManager.Expect100Continue = false;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now you&amp;#8217;re forwards-compatible with the API/server change at Twitter.&lt;/p&gt;</description><link>http://xcud.com/post/66923511</link><guid>http://xcud.com/post/66923511</guid><pubDate>Fri, 26 Dec 2008 16:19:36 -0600</pubDate><category>twitter</category><category>api</category><category>417</category></item><item><title>Editorial Power</title><description>&lt;p&gt;Leave a comment counting to 3 if you secretly sing Britney Spears songs in the shower when you think noone&amp;#8217;s listening.&lt;/p&gt;</description><link>http://xcud.com/post/64178418</link><guid>http://xcud.com/post/64178418</guid><pubDate>Wed, 10 Dec 2008 17:13:00 -0600</pubDate></item></channel></rss>

