<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to use C# to perform cluster administration in “Velocity”</title><link>http://blogs.msdn.com/velocity/archive/2009/03/02/how-to-use-c-to-perform-cluster-administration-in-velocity.aspx</link><description>This article talks about using Microsoft project code named “Velocity” PowerShell cmdlets in C# code for distributed cache cluster administration. 1) Go through the following blog to get started with using Exchange Management Shell commands in managed</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #298</title><link>http://blogs.msdn.com/velocity/archive/2009/03/02/how-to-use-c-to-perform-cluster-administration-in-velocity.aspx#9456208</link><pubDate>Tue, 03 Mar 2009 11:37:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9456208</guid><dc:creator>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #298</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.cwa.me.uk/2009/03/03/the-morning-brew-298/"&gt;http://blog.cwa.me.uk/2009/03/03/the-morning-brew-298/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: How to use C# to perform cluster administration in “Velocity”</title><link>http://blogs.msdn.com/velocity/archive/2009/03/02/how-to-use-c-to-perform-cluster-administration-in-velocity.aspx#9493580</link><pubDate>Sat, 21 Mar 2009 00:16:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9493580</guid><dc:creator>Gigy</dc:creator><description>&lt;p&gt;Let me thank for this post.. I was badly looking something similar kind of Administration using C#.&lt;/p&gt;
&lt;p&gt;When I was trying to call &amp;quot;Stop-Service - Name &amp;lt;HostName&amp;gt;, to stop a service in C#, The Application is just hung. Application is Not responding at all. I was trying to call this in a C# code which I used to create a MMC SnapIn.&lt;/p&gt;
&lt;p&gt;But When I use the same command in PowerShell tool . It woked fine .Did I missed anything ?&lt;/p&gt;
</description></item><item><title>re: How to use C# to perform cluster administration in “Velocity”</title><link>http://blogs.msdn.com/velocity/archive/2009/03/02/how-to-use-c-to-perform-cluster-administration-in-velocity.aspx#9554487</link><pubDate>Fri, 17 Apr 2009 21:20:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9554487</guid><dc:creator>plepilov</dc:creator><description>&lt;p&gt;Thank you guys for this post!&lt;/p&gt;
&lt;p&gt;Small correction - I think CTP3 uses now different namespace: not System.Data.Caching.* as in your code snippets but Microsoft.Data.Caching.*&lt;/p&gt;
</description></item><item><title>re: How to use C# to perform cluster administration in “Velocity”</title><link>http://blogs.msdn.com/velocity/archive/2009/03/02/how-to-use-c-to-perform-cluster-administration-in-velocity.aspx#9851753</link><pubDate>Wed, 29 Jul 2009 09:07:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9851753</guid><dc:creator>Miran</dc:creator><description>&lt;p&gt;Hi, first of all, excellent post!&lt;/p&gt;
&lt;p&gt;Second I need some help from you, when i try to run your example it breaks on following line:&lt;/p&gt;
&lt;p&gt;PSSnapInInfo info = rsConfig.AddPSSnapIn(&amp;quot;Microsoft.Data.Caching.Commands&amp;quot;, out snapInException);&lt;/p&gt;
&lt;p&gt;throws an PSArgumentException : &amp;quot;No snap-ins have been registered for Windows PowerShell version 2.&amp;quot;&lt;/p&gt;
&lt;p&gt;running PS command Get-PSSnapIn -reg i get:&lt;/p&gt;
&lt;p&gt;Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: Microsoft.Data.Caching.Commands&lt;/p&gt;
&lt;p&gt;PSVersion &amp;nbsp; : 2.0&lt;/p&gt;
&lt;p&gt;Description : Powershell Cmdlets for Microsoft Distributed Cache&lt;/p&gt;
&lt;p&gt;[Other...]&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;
</description></item></channel></rss>