<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Harley Green (Powershell) </title>
    <link>http://www.harleygreen.com/8/section.aspx/category/1</link>
    <description>Harley Green</description>
    <language>en-US</language>
    <pubDate>Wed, 08 Sep 2010 03:10:43 GMT</pubDate>
    <lastBuildDate>Wed, 08 Sep 2010 03:10:43 GMT</lastBuildDate>
    <generator>Cuyahoga Website Framework</generator>
    <ttl>60</ttl>
    <item>
      <title>Using Powershell to get the strong name of an assembly </title>
      <link>http://www.harleygreen.com/8/section.aspx/4</link>
      <description>&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&amp;nbsp;&lt;/p&gt;
Here's a short powershell script to get the strong name of an assembly:&lt;br /&gt;
&lt;br /&gt;
&lt;!-- Stylesheet link --&gt;
&lt;link type="text/css" rel="stylesheet" href="http://www.thecomplex.plus.com/styles/SyntaxHighlighter.css" /&gt;  &lt;!-- Code --&gt;
&lt;div class="dp-highlighter" id="hlDiv"&gt;
&lt;div class="bar"&gt;&amp;nbsp;&lt;/div&gt;
&lt;ol start="1" class="dp-rb"&gt;
    &lt;li class="alt"&gt;&lt;span&gt;&lt;span class="keyword"&gt;function&lt;/span&gt;&lt;span&gt;&amp;nbsp;Get-AssemblyName&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
    &lt;li class=""&gt;&lt;span&gt;&lt;span class="keyword"&gt;param&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span class="variable"&gt;$file&lt;/span&gt;&lt;span&gt;)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
    &lt;li class="alt"&gt;&lt;span&gt;&lt;span class="variable"&gt;$path&lt;/span&gt;&lt;span&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="builtin"&gt;Resolve-Path&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="variable"&gt;$file&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
    &lt;li class=""&gt;&lt;span&gt;[System.Reflection.AssemblyName]::GetAssemblyName(&lt;span class="variable"&gt;$path&lt;/span&gt;&lt;span&gt;).FullName&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
    &lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;If you add this to your profile, you can set up an external tool in Visual Studio to run this against the current project:&lt;/p&gt;
&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in;"&gt;&lt;img height="395" width="396" alt="" src="http://www.harleygreen.com/UserFiles/strongnamesetup.jpg" /&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&amp;nbsp;&lt;img height="88" width="528" alt="" src="http://www.harleygreen.com/UserFiles/strongnameoutput.png" /&gt;&lt;/p&gt;
&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in;"&gt;&lt;br /&gt;
&lt;/p&gt;</description>
      <dc:creator>Harley Green</dc:creator>
      <pubDate>Wed, 03 Dec 2008 20:33:00 GMT</pubDate>
      <category>Powershell</category>
    </item>
    <item>
      <title>PowerText</title>
      <link>http://www.harleygreen.com/8/section.aspx/3</link>
      <description>PowerText is a powershell snapin for file processing. &lt;br /&gt;
The initial release has a single cmdlet - Import-DelimitedValues for importing character delimited values, available @ &lt;a href="http://www.harleygreen.com/7/section.aspx/download/3"&gt;www.harleygreen.com/7/section.aspx/download/3&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Current cmdlets include:&lt;br /&gt;
&lt;br /&gt;
Import-DelimitedValues: Replacement for the Import-Csv cmdlet, providing the ability to specify the delimiter.&lt;br /&gt;
&lt;br /&gt;
This is an initial release, and is offered under the Apache 2.0 licence.&lt;br /&gt;
&lt;br /&gt;
Source code to follow shortly.&lt;br /&gt;
&lt;br /&gt;
Comments / criticism / suggestions are all welcome.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Harley</description>
      <dc:creator>Harley Green</dc:creator>
      <pubDate>Mon, 19 May 2008 04:08:00 GMT</pubDate>
      <category>Powershell</category>
    </item>
    <item>
      <title>PowerQueue</title>
      <link>http://www.harleygreen.com/8/section.aspx/2</link>
      <description>PowerQueue is a powershell snapin for accessing MSMQ messages and queues, available @ &lt;a href="http://www.harleygreen.com/7/section.aspx/download/2"&gt;www.harleygreen.com/7/section.aspx/download/2&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Current cmdlets include:&lt;br /&gt;
&lt;br /&gt;
Clear-Queue: Purges all messages from a queue&lt;br /&gt;
Get-Queue: Gets queues matching input parameters&lt;br /&gt;
New-Queue: Creates a new queue&lt;br /&gt;
Receive-Message: Reads / Peeks at messages in a queue&lt;br /&gt;
Send-Message: adds a message to a queue&lt;br /&gt;
Test-Queue: check if a queue exists&lt;br /&gt;
&lt;br /&gt;
This is an initial release, and is offered under the Apache 2.0 licence.&lt;br /&gt;
&lt;br /&gt;
&lt;strike&gt;Source code to follow shortly.&lt;/strike&gt;&lt;br /&gt;
update: These cmdlets have been included in Powershell Community Extentions - the source is available from codeplex @ http://www.codeplex.com/PowerShellCX&lt;br /&gt;
&lt;br /&gt;
Comments / criticism / suggestions are all welcome.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Harley</description>
      <dc:creator>Harley Green</dc:creator>
      <pubDate>Mon, 28 Apr 2008 04:39:00 GMT</pubDate>
      <category>Powershell</category>
    </item>
    <item>
      <title>PowerSql</title>
      <link>http://www.harleygreen.com/8/section.aspx/1</link>
      <description>PowerSql is a simple powershell snapin for easy execution of sql commands. There are 2 flavors - OleDb and SqlServer specific commands.&lt;br /&gt;
&lt;br /&gt;
The current cmdlets include:&lt;br /&gt;
Get-SqlData - returns strongly typed objects&lt;br /&gt;
Get-OleDbData - returns strongly typed objects&lt;br /&gt;
Get-SqlDataSet&lt;br /&gt;
Get-OleDbDataSet&lt;br /&gt;
Invoke-SqlCommand - returns number of rows affected&lt;br /&gt;
Invoke-OleDbCommand - returns number of rows affected&lt;br /&gt;
&lt;br /&gt;
update: These cmdlets have been included in Powershell Community Extentions - the source is available from codeplex @ http://www.codeplex.com/PowerShellCX</description>
      <dc:creator>Harley Green</dc:creator>
      <pubDate>Mon, 04 Feb 2008 06:00:00 GMT</pubDate>
      <category>Powershell</category>
    </item>
  </channel>
</rss>