Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

The 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 another shape of POWERSHELL.EXE, but preconfigured for SQL
Posted by mwories | 0 Comments

PowerShell Tips & Tricks: Getting more detailed error information from PowerShell

A handy little trick to quickly get much more error information out of PowerShell
Posted by mwories | 0 Comments
Filed under: ,

Talking 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 : http://www.runasradio.com/default.aspx?showNum=75 If you
Posted by mwories | 2 Comments

What? 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 operation you can perform. Did we miss something here?
Posted by mwories | 2 Comments

Some 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 respected in the Powershell community, and it's good
Posted by mwories | 0 Comments

Evaluating 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 article one of the SQL Server MVPs, Lara Rubbelke , on
Posted by mwories | 0 Comments

SQL 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 on in the next releases to come. So what’s in this release of SQL Server Powershell?
Posted by mwories | 21 Comments

How 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 how to use WMI and VBScript to accomplish this task.
Posted by mwories | 2 Comments
Filed under: ,

SMO Sample: Enable TCP/IP Server protocol of SQL Server 2005

SMO Sample: Enable TCP/IP Server protocol of SQL Server 2005
Posted by mwories | 4 Comments
Filed under:

Add oil to fire: SMO and Monad -- a flammable combination

Euan pointed me to an interesting article about the use of Monad together with SMO . Those who know me well, know I am somewhat of a scripting biggot and still install Cygwin on all of my boxes as I cannot live without bash, awk, perk, sed, expr and the
Posted by mwories | 13 Comments
Filed under: ,

SQL Server 2005 -- it's a wrap; but wait -- it's just the beginning!

I'm sure there are lots of coworkers blogging about this. We're done with SQL Server 2005 and it's a very interesting and good feeling. Having worked 5 year on the project, many long days, many weekends, having to fight many battles, and at the same time
Posted by mwories | 2 Comments
Filed under:

SMO Samples Galore

With much of the SQL Server 2005 devcelopment behind us, I am starting to have some more time to post some SMO samples . Most of these are inspired on questions in the beta newsgroups or the SMO/DMO forum . Additionally, SQL Server 2005 ships with a pretty
Posted by mwories | 3 Comments
Filed under: ,

SMO Sample: Which SQL Server version is supported by the property?

Purpose of sample: List metadata information about SMO object properties
Posted by mwories | 1 Comments
Filed under: ,

SMO Sample: Create and Start a Job

Purpose of sample: Create simple job and start the job after creation.
Posted by mwories | 5 Comments
Filed under: ,

SMO Sample: Backup database to Mirrors

Purpose of sample: Backup database to various mirrors
Posted by mwories | 1 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker