Display: Cloud | List
Most Popular Tags
Create A Database Using PowerShell (Database Class (Microsoft.SqlServer.Management.Smo))
#------------------------------------------------------------------------- # ScriptName : create-SQLDatabase.ps1 # # Author : Richard Vantrease # # Purpose : Create a new SQL Server database using a pre-defined template # # Dependencies : Microsoft.SQLServer.SMO #------------------------------------------------------------------------- # Thanks to Allen White for the write-up I used i
Last modified by Thomas Lee on 7/8/2009 6:04:21 PM
Retrieve a SQL Servers Database Objects Collection PowerShell (Database Class (Microsoft.SqlServer.Management.Smo))
#-------------------------------------------------------------------------# ScriptName : get-SQLServerDatabases.ps1## Author : Richard Vantrease## Purpose : Returns a collection of database objects for a # SQL Server object. Will display interesting# properties if the -Display switch is used.## Dependencies : Microsoft.SQLServer.SMO#-----------------------------------------------------------------
Last modified by Thomas Lee on 7/8/2009 6:03:28 PM
Page view tracker