THE SQL Server Blog Spot on the Web
Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | Join | Help
in Search

Browse by Tags

All Tags » SMO   (RSS)
  • SQL Saturday 6 - Cleveland August 9

    Wow, it's been a crazy month! Two weeks of Tech Ed in Orlando, where I spent time helping people with questions on SQL Server in the Database Platform area and presented two sessions on SMO and PowerShell (one with my friend Peter Ward from Australia). Then, my last week as a DBA at Advanstar, followed by my first week as a Trainer for ...
    Posted to Allen White (Weblog) by AllenMWhite on June 27, 2008
  • Create Database from PowerShell

    Last week I presented a session on Using SMO to Manage SQL Server at SQL Connections in Orlando, Florida. This was the third major conference I've presented this session, and each time I do this session I change more demos from VB.Net to PowerShell. This time it was the demo to create a new database. The big thing about my demos is that I want ...
    Posted to Allen White (Weblog) by AllenMWhite on April 28, 2008
  • Start PowerShell in Management Studio

    In the February CTP of SQL Server 2008 a new feature has appeared in SQL Server Management Studio. You now have the ability to right-click on an object in the Object Explorer window and open up a PowerShell window. In this window you can navigate the database structures much like you can a disk file subsystem, or like you can navigate the ...
    Posted to Allen White (Weblog) by AllenMWhite on February 20, 2008
  • Create Agent Jobs to run PowerShell Scripts

    Actually, let's use PowerShell and SMO to create an Agent job which will run a PowerShell script. (Or is that a circular reference?) I've created a number of PowerShell scripts which automate database management processes, and I wanted to be able to run them from an Agent job. The trick, of course, is to be able to get to the PowerShell ...
    Posted to Allen White (Weblog) by AllenMWhite on January 9, 2008
  • Accessing WMI Information Using SMO

    While doing some research on SMO I found a couple of very handy features of the WMI accessibility features of SMO. I'm playing with PowerShell because it's easy to browse the SMO objects in that environment, but here are a couple of tips I found useful. We need to load the SMO assembly into PowerShell - here's the ...
    Posted to Allen White (Weblog) by AllenMWhite on December 28, 2007
  • SQL 2008 SMO - Doing a Little Rearranging

    In browsing through the SQL Server 2008 SMO Object Library I noticed there are a couple of additional DLL's. For example, the SQL Server WMI Management objects, formerly in Microsoft.SqlServer.Smo.dll, are now in Microsoft.SqlServer.SqlWmiManagement.dll. There's also a new one called Microsoft.SqlServer.SmoExtended.dll. I took a look in there ...
    Posted to Allen White (Weblog) by AllenMWhite on October 19, 2007
  • SQL 2008 SMO has the same MailServer Bug as SQL 2005 SMO

    Last December I blogged about a bug in the MailServer object, in that they left out a New() method for creating a MailServer object. The full description of the error and workaround is here and the Connect item I filed on the problem is here.. In browsing through the SMO Object Library for SQL Server 2008 I see they still have not included a ...
    Posted to Allen White (Weblog) by AllenMWhite on October 16, 2007
  • Table scripting with SMO (PART 1)

    Thanks to Allen White and his talk at PASS, I have been inspired in my plight to create a complete build script of the database that I am in charge of for a dev project at work.  So I wanted to start by scripting the tables that exist in my database.  I was going to have it be configurable but that is later on.  My end product will ...
    Posted to Ben Miller (Weblog) by dbaduck on October 3, 2007
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement