concept SQLCLR in category sql
appears as: SQLCLR, SQLCLR

This is an excerpt from Manning's book SQL Server MVP Deep Dives Vol. 2.
As a DBA, you’ve probably used Performance Monitor (perfmon.exe) to measure hardware and operating system performance. The problem with using PerfMon is that only a subset of its counters is available for a SQL Server 2008 instance using the sys.dm_os_performance_counters DMV. But using the SQLCLR lets you create a Microsoft .NET–based user-defined scalar function in every version from SQL Server 2005 on to get the value of every counter registered in the OS of the server. Let me show you how.