SMO Sample: Enable TCP/IP Server protocol of SQL Server 2005
Purpose of sample: Enable the TCP/IP server protocol. This sample shows you how to change a server protocol setting. This sample assumes you have SQL Express installed. You need to change the...
View ArticleHow to change the SQL Server password programmatically
Every now and the question comes up how to programmatically modify the service account or password of SQL Server. There basically two ways to accomplish this, using SMO, or WMI. This article shows you...
View ArticleSQL Server Powershell is here!
I am very excited that SQL Server will ship with a pretty solid first release of Powershell extensions with SQL Server 2008. The SQL Server Powershell extensions deliver on a vision that we’ll expand...
View ArticleEvaluating SQL Server Policies through Powershell
I found this ping-back on my previous blog post which gives a good overview of one very useful cmdlet that we ship with the Powershell extensions that SQL Server 2008 will deliver. A very helpful...
View ArticleSome background on the use of minishells, such as SQLPS
Jeffrey Snover posted a very clear article about minishells and SQL Server’s use of it: http://blogs.msdn.com/powershell/archive/2008/06/23/sql-minishells.aspx Jeffrey is Powershell’s Architect, well...
View ArticleWhat? No cmdlets? — SQL Server Powershell
When you start using the SQL Server Powershell extensions, you will find there are not a whole lot of cmdlets. The expectation is indeed that Powershell support means: cmdlets for every administrative...
View ArticleTalking about SQLPS (SQL Server Powershell extensions) on Runas Radio
I was recently interviewed on RunAs Radio on the new Powershell extensions that we developed for SQL Server 2008. If you want to learn more about SQL Server Powershell download the podcast here :...
View ArticlePowerShell Tips & Tricks: Getting more detailed error information from...
Allen White wrote this handy blogpost on how to handle error message and get more information out of an error record:...
View ArticleThe use of Write-Host and SQL Server Agent PowerShell job steps
SQL Server Agent implements a job subsystem that allows users to directly run PowerShell scripts in SQL Server Agent. Internally this is implemented by reusing the SQLPS.EXE shell stub (which is...
View ArticleAn insightful article on a recent Windows Azure service disruption
This was such a great read that I wanted to share it out… http://blogs.msdn.com/b/windowsazure/archive/2012/03/10/summary-of-windows-azure-service-disruption-on-feb-29th-2012.aspx A factual,...
View Article