Skip to content

EMPIRICAL DATA MAN

  • About Me
  • Disclaimer

Month: August 2010

How to Script All Tables From a Database with PowerShell

August 22, 2010 by Sal Young

PROBLEM: You need to script all the tables from a database.  Each table needs to be on its own file so they can be added to a source control repository. SOLUTION: The use of SQL Server PowerShell Extensions (SQLPSX) facilitates the solution I’m about to show. The first example is a straight to the point, … Read more

Categories PowerShell Tags DBA, PowerShell, SMO, SQL, SQLPSX Leave a comment

How to Change File Extension for all Files in a Folder

August 21, 2010 by Sal Young

PROBLEM: You have a directory with many files and would like to change the extension on many of them without having to do one by one. SOLUTION: You can solve this problem with PowerShell and in less than 3 lines of code. CLEAR CD [PATH TO FILE LOCATION] Get-ChildItem *.[FILE EXTENSION]|Rename-Item –NewName {$_.Name –replace “[FROM … Read more

Categories PowerShell Tags FSO, PowerShell Leave a comment

Review SQL Server 2008 Administration in Action

August 19, 2010 by Sal Young

I got a copy of this book back in September of 2009 because I wanted to know more about the hardware configuration of production database servers.  Specifically, I wanted to know about best practices and recommendations in the areas of storage, memory and CPU.  While at the store, I read chapter 2 “Storage and System … Read more

Categories Book Review, Career Tags DBA, SQL Leave a comment

Archives

  • November 2014
  • September 2014
  • August 2014
  • June 2014
  • November 2013
  • June 2013
  • April 2013
  • March 2013
  • May 2012
  • September 2011
  • April 2011
  • February 2011
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • February 2010
  • July 2009
  • February 2009
  • November 2008
  • February 2008
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • January 2006
  • July 2005
  • June 2005

Categories

  • Book Review
  • Career
  • Cars
  • MS SQL
  • MySQL
  • Photography
  • PowerShell

Tags

Agile Cars Cars and Coffee Central Management Server Constraints DBA DMV Dodge Viper Español Extreme Programming Featured FSO Index Indexes MCITP MySQL Outlook Posh Script PowerShell Registry SCRIPT Service Broker SMO SQL SQL Alias SQL jobs SQLPSX SQL Server Agent SQL Tuesday SRT Viper T-SQL Script UDF WMI XML
© 2026 EMPIRICAL DATA MAN • Built with GeneratePress
Loading Comments...