Trevor Sullivan's Tech Room

Minding the gap between administration and development

Posts Tagged ‘microsoft .net’

PowerShell: List Strongly Typed Names in Global Assembly Cache

Posted by Trevor Sullivan on 2011/12/30

I dislike using deprecated commands or APIs when I know that there’s a more modern method of performing an action. I also generally prefer to use Windows PowerShell as a .NET scripting language, rather than constantly relying on cmdlets. To be sure, I use a balance of both concepts, since cmdlets can save a whole lot of coding a lot of the time.

Every time I want to load an assembly into PowerShell, the first thing that pops into my mind is:


Unfortunately Microsoft recommends against using that static method, and recommends use of other methods like:


In the interest of not breaking my conscience, I would like to use this method, but the problem then becomes that I have to constantly figure out what the strongly-typed name of the assembly I want is. To help solve this problem, I decided to write a PowerShell script that extracts information from the .NET assemblies in the Global Assembly Cache (GAC), since those are generally the most common ones I’ll need to reference.

Read the rest of this entry »


Posted in .NET, powershell, scripting, tools | Tagged: , , , , , , , | 6 Comments »

Links to Interesting Stuff

Posted by Trevor Sullivan on 2011/07/23

Updated on 2011-08-03

Here are some links to interesting blogs, software, and other random tidbits!

Read the rest of this entry »

Posted in Uncategorized | Tagged: , , , , , | Leave a Comment »

Links to Interesting Stuff

Posted by Trevor Sullivan on 2010/11/01

Updated on 2010-11-01 – A weekly Podcast with topics revolving around Microsoft PowerShell – The official Microsoft Scripting Guys blog


BitKinex – FTP, SFTP, WebDAV client for Windows XP/Vista/7

NuPack – NuPack is a free, open source developer focused package management system for the .NET platform intent on simplifying the process of incorporating third party libraries into a .NET application during development.

PowerGUI VSX – Visual Studio Extensions for PowerShell

PHP Manager for IIS – PHP Manager for IIS is a tool for managing one or many PHP installations on IIS 7 and IIS 7.5 servers. – A free system monitor I happened across – A cool Windows 7 taskbar enhancement. Allows you to create stacks of programs to launch from the taskbar. – A PowerShell-based Workflow tool – A somewhat outdated, but cool and free PowerShell monitoring utility – PowerShell Community Extensions. Adds a number of useful cmdlets to PowerShell. – Available as part of the Windows 7 Resource Kit, the PowerShell Pack contains 10 modules to help you do more with PowerShell – A free PowerShell integrated development environment (IDE) from Quest Software

Free .NET Libraries

oauth-dot-net – A .NET library which provides full OAuth consumer and provider support.

Twitterizer – A .NET library for Twitter folk. Implements OAuth. Requires .NET 3.5+

DNS Client .NET – Perform simple as well as advanced DNS lookups from .NET code against any DNS server.

Punycode / IDN .NET – Punycode (and de-code) domain names containing international (non-english) characters in .NET code.

Packet.Net – High performance .Net assembly for dissecting and constructing network packets such as ethernet, ip, tcp, udp etc.

SharpPcap – SharpPcap is a cross-platform packet capture framework for the .NET environment, based on the famous pcap / WinPcap libraries

Pcap.Net – Pcap.Net is a .NET wrapper for WinPcap written in C++/CLI and C#.

DotNetOpenAuth – DotNetOpenAuth is a C# library that adds OpenID 2.0 Provider and Relying Party, OAuth Consumer and Service Provider, and InfoCard Selector support to your web site

OpenTK – The Open Toolkit is an advanced, low-level C# library that wraps OpenGL, OpenCL and OpenAL.

Visifire – A free, animated charting library for Microsoft .NET

Dundas Charts – A very powerful .NET charting solution

dot-net-transitions – A library for animated UI transitions for .NET

HTML Agility Pack – A .NET code library that allows you to parse "out of the web" HTML files.

Blogs – The official Windows PowerShell blog – The Windows Management Infrastructure blog – Excellent PowerShell blog (Kirk Munro) – Hal Rottenberg’s blog (MVP) – Richard Siddaway’s blog (MVP) – A PowerShell blog by Andy Schneider – Keith Hill’s blog (MVP) – Alex Verboon’s blog – Interesting posts about IT – Shay Levy’s blog (PowerShell MVP) – Karl Prosser’s PowerShell blog (MVP) – Karl Mitschke’s PowerShell blog – Dennis Delimarsky’s developer blog – Anonymous PowerShell blog – Cool coding blog (Rafael Rivera)

Posted in scripting, tools | Tagged: , , , , , | Leave a Comment »