THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Browse by Tags

All Tags » PowerShell » Performance   (RSS)
  • How I use PowerShell to collect Performance Counter data

    In a current project, I need to collect performance counters from a set of virtual machines that are performing different tasks and running a variety of workloads.  In a similar project last year, I used LogMan to collect performance data.  This time I decided to try PowerShell because, well, all the kids are doing it, I felt a little ...
    Posted to Aaron Bertrand (Weblog) by AaronBertrand on January 31, 2011
  • Add-Content and Out-File are not for performance

    When you write Powershell scripts and need to write a text file, you have a number of ways to accomplish that. The often suggested approach is to use cmdlets Add-Content or Out-File. Well, this is not news.   But some may not notice that these cmdlets are not there for performance. Sure, they are convenient. But if you need to write to a ...
    Posted to Linchi Shea (Weblog) by Linchi Shea on January 4, 2010
Privacy Statement