0% found this document useful (0 votes)
22 views2 pages

Readme

The document discusses sample scripts that demonstrate using PowerShell to manage SQL Server 2008 objects. The scripts use ADO, SMO and WMI to gather and manage SQL Server objects and can be run locally or remotely. Prerequisites for running the samples include SQL Server 2008 and PowerShell v1.0 installed on the same computer.

Uploaded by

eserranos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

Readme

The document discusses sample scripts that demonstrate using PowerShell to manage SQL Server 2008 objects. The scripts use ADO, SMO and WMI to gather and manage SQL Server objects and can be run locally or remotely. Prerequisites for running the samples include SQL Server 2008 and PowerShell v1.0 installed on the same computer.

Uploaded by

eserranos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Readme

1/28/2009 3:30:00 PM

The purpose of the SQL Server 2008 samples is to demonstrate


the scripting capabilities of PowerShell using the SQL Server 2008
ADO, SMO and WMI.

Important:
Samples are provided for educational purposes only. They are not
intended to be used in a production environment and have not been
tested in a production environment. Idera does not provide
technical support for these samples. Sample applications should not
be connected to or used with your production environment without
the permission of the SQL Server administrator.

Scenario
The sample scripts demonstrate various techniques for gathering
and managing SQL Server 2008 objects using PowerShell. The
scripts can against a local or remote SQL Server 2008 server (See
Prerequisites for more information).

Each script is designed to be loaded and run using default


parameters against a local installation of SQL Server but can be
changed to refer to the SQL Server 2008 instance. Please load each
script into PowerShellPlus Professional Edition and review before
running. After running each script, use the Interactive Console to
review the results.

Tip:
The Interactive console can be a separate window or be embedded
into the Script Editor. To embed the Console, Click the Embed
Console option on the quick start toolbar at the top of the Script
Editor.

Languages
PowerShell v1.0

Prerequisites
Before running this sample, make sure the following software is
installed all on the same computer:

 SQL Server 2008


 PowerShell v1.0

Running the Samples


The following procedure shows how to run the samples.

1. From PowerShellPlus Script Editor, open any sample script.


The default installation directory is drive:\Program
Files\Idera\PowerShellPlus\Samples\SQL Server.

2. Select the Execution tab and Click Run.

© 2005-2009 Idera, a division of BBS Technologies, Inc. All rights


reserved.

You might also like