THE SQL Server Blog Spot on the Web

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

Browse by Tags

All Tags » performance » Scripting » Powershell   (RSS)
  • 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
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement