<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>belle's sql musings &#187; SMO</title>
	<atom:link href="http://www.sqlmusings.com/category/smo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlmusings.com</link>
	<description>ramblings, discoveries, tutorials on sql server and other database stuff</description>
	<lastBuildDate>Sat, 04 Feb 2012 21:16:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Re-Post: SQL Server and PowerShell WebCasts</title>
		<link>http://www.sqlmusings.com/2010/02/27/re-post-sql-server-and-powershell-webcasts/</link>
		<comments>http://www.sqlmusings.com/2010/02/27/re-post-sql-server-and-powershell-webcasts/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 09:04:46 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[musings]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1296</guid>
		<description><![CDATA[I created a 2 part webcast on SQL Server and PowerShell last November/December, and I just wanted to re-post it in my site. SQL Server PowerShell: Part I Posted on November 25, 2009 Overview: This video is part 1 of a 2 part video series that goes through PowerShell basics with demonstrations on how to [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2010/02/27/re-post-sql-server-and-powershell-webcasts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VANPASS Presentation and Demo Files on SQL Server and PowerShell</title>
		<link>http://www.sqlmusings.com/2009/08/20/vanpass-presentation-and-demo-files-on-sql-server-and-powershell/</link>
		<comments>http://www.sqlmusings.com/2009/08/20/vanpass-presentation-and-demo-files-on-sql-server-and-powershell/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 06:09:29 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Resources/References]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[Speaking Engagements]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>
		<category><![CDATA[VANPASS]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=951</guid>
		<description><![CDATA[I did a presentation today for VANPASS on PowerShell and SQL Server &#8211; thank you to those who attended! It was a great lively crowd Thanks to Idera too &#8211; for the freebies &#8211; and to Black Ninja Software for the pizza and pop! Here are the files as promised: VANPASS &#8211; SQL Server and [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/08/20/vanpass-presentation-and-demo-files-on-sql-server-and-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : Search for SQL Server Objects Using PowerShell</title>
		<link>http://www.sqlmusings.com/2009/06/04/sql-server-powershell-search-for-sql-server-objects-using-powershell/</link>
		<comments>http://www.sqlmusings.com/2009/06/04/sql-server-powershell-search-for-sql-server-objects-using-powershell/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 07:49:31 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=860</guid>
		<description><![CDATA[I have posted previously 3 different ways of searching for SQL Server Objects (How to Search for Columns in SQL Server ). Here&#8217;s a fourth one! Check out how powerful and flexible PowerShell is when you need to look for a database object. In the script below, I only search databases, tables, columns, and indexes. [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/06/04/sql-server-powershell-search-for-sql-server-objects-using-powershell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : How to Audit Your SQL Server Instance Properties Using PowerShell and SMO</title>
		<link>http://www.sqlmusings.com/2009/06/03/sql-server-powershell-how-to-audit-your-sql-server-instance-properties-using-powershell-and-smo/</link>
		<comments>http://www.sqlmusings.com/2009/06/03/sql-server-powershell-how-to-audit-your-sql-server-instance-properties-using-powershell-and-smo/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 07:11:27 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=845</guid>
		<description><![CDATA[Here is a simple script to audit your SQL Server Instance Properties. Note that the property names are not hardcoded. We query each of these properties, and use those to display the property values. If you prefer, you can also query directly each of the properties of an instance. If this is the case, just [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/06/03/sql-server-powershell-how-to-audit-your-sql-server-instance-properties-using-powershell-and-smo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : How to Restore SQL Server Databases Using SMO and PowerShell</title>
		<link>http://www.sqlmusings.com/2009/06/01/how-to-restore-sql-server-databases-using-smo-and-powershell/</link>
		<comments>http://www.sqlmusings.com/2009/06/01/how-to-restore-sql-server-databases-using-smo-and-powershell/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 07:05:34 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=809</guid>
		<description><![CDATA[A follow-up to my previous post: How to Restore SQL Server Databases Using SMO and PowerShell In this post I will show you how you can restore your database to : 1. the existing database (same database name) 2. a different database (different database name, different mdf and ldf) As with the previous post, to [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/06/01/how-to-restore-sql-server-databases-using-smo-and-powershell/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : How to Backup SQL Server Databases Using SMO and PowerShell</title>
		<link>http://www.sqlmusings.com/2009/05/31/how-to-backup-sql-server-databases-using-smo-and-powershell/</link>
		<comments>http://www.sqlmusings.com/2009/05/31/how-to-backup-sql-server-databases-using-smo-and-powershell/#comments</comments>
		<pubDate>Sun, 31 May 2009 17:04:27 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=787</guid>
		<description><![CDATA[PowerShell makes it easier to manage even your database backups and restore. To do a SQL Server backup in SQL Server, you will need to use the SMO SqlBackup method. In SQL Server 2008, you will need to load Microsoft.SqlServer.SmoExtended assembly otherwise, you will get the following error: Cannot find type [Microsoft.SqlServer.Management.Smo.Backup]: make sure the [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/05/31/how-to-backup-sql-server-databases-using-smo-and-powershell/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : Basics &#8211; Connecting to SQL Server</title>
		<link>http://www.sqlmusings.com/2009/04/29/sql-server-powershell-basics-connecting-to-sql-server/</link>
		<comments>http://www.sqlmusings.com/2009/04/29/sql-server-powershell-basics-connecting-to-sql-server/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 08:34:58 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=682</guid>
		<description><![CDATA[PowerShell is a great tool that allows DBAs and Developers alike to script, manage and automate SQL Server tasks. Most of the objects and tasks will require SMO (SQL Server Management Objects). Basic Steps 1. Set Execution Policy Depending on what you need to do, you may need to set the Execution Policy in your [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/04/29/sql-server-powershell-basics-connecting-to-sql-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Connect to an Instance Name Using SMO</title>
		<link>http://www.sqlmusings.com/2008/10/13/how-to-connect-to-an-instance-name-using-smo/</link>
		<comments>http://www.sqlmusings.com/2008/10/13/how-to-connect-to-an-instance-name-using-smo/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 21:13:27 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[SMO]]></category>

		<guid isPermaLink="false">http://sqlmusings.wordpress.com/?p=352</guid>
		<description><![CDATA[1. Create your Visual Studio Project 2. Add the following references in your project Microsoft.SqlServer.ConnectionInfo Microsoft.SqlServer.Smo Microsoft.SqlServer.SmoEnum Microsoft.SqlServer.SqlEnum 3. Include the following using statement: using Microsoft.SqlServer.Management.Smo; 4. Add your server object. Normally, you would use the following format in your Server object: String serverName = "JUBILEE"; Server srv = new Server(serverName); Database db = srv.Databases["AdventureWorks"]; [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2008/10/13/how-to-connect-to-an-instance-name-using-smo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

