Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss Content Posted by Chad Miller
»
Getting Data out of SQL Server from...
Getting Data out of SQL Server from Powershell
Rate Topic
Display Mode
Topic Options
Author
Message
cmille19
cmille19
Posted Thursday, January 01, 2009 8:52 PM
SSC Veteran
Group: General Forum Members
Last Login: Thursday, May 16, 2013 5:46 AM
Points: 257,
Visits: 671
Comments posted to this topic are about the item
Getting Data out of SQL Server from Powershell
Post #628576
Phil Factor
Phil Factor
Posted Friday, January 02, 2009 6:27 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Sunday, May 19, 2013 4:00 AM
Points: 533,
Visits: 2,285
Is the SMO library freely-distributable? What would happen if you created a Powershell application using SMO, and then wanted to install it on a computer that didn't have SSMS on it? It would seem a reasonable thing to want to do.
Best wishes,
Phil Factor
Simple Talk
Post #628759
cmille19
cmille19
Posted Friday, January 02, 2009 10:21 AM
SSC Veteran
Group: General Forum Members
Last Login: Thursday, May 16, 2013 5:46 AM
Points: 257,
Visits: 671
Phil Factor (1/2/2009)
Is the SMO library freely-distributable? What would happen if you created a Powershell application using SMO, and then wanted to install it on a computer that didn't have SSMS on it? It would seem a reasonable thing to want to do.
Yes, SMO is redistributable and is available as a separate installation outside of SQL Server Management Studio (SSMS):
[url=http://www.microsoft.com/downloads/details.aspx?FamilyID=228de03f-3b5a-428a-923f-58a033d316e1&DisplayLang=en][/url]
Post #628952
kozloski
kozloski
Posted Friday, January 02, 2009 10:26 AM
SSC Veteran
Group: General Forum Members
Last Login: Monday, May 20, 2013 11:32 AM
Points: 296,
Visits: 945
It appears that the SMO components may be redistributable. The Management Objects package is freely available from Microsoft's site (as part of the Feature Pack for Microsoft SQL Server 2005 (
http://www.microsoft.com/downloads/details.aspx?FamilyID=536fd7d5-013f-49bc-9fc7-77dede4bb075&displaylang=en
) or Feature Pack for Microsoft SQL Server 2008 (
http://www.microsoft.com/downloads/details.aspx?familyid=228DE03F-3B5A-428A-923F-58A033D316E1&displaylang=en
)
Additionally, there is a blurb contained within the verbiage of the download page which reads:
Download the appropriate file by clicking one of the links below, then run the downloaded file to install that package.
Each package indicates the audience(s) for which it was intended, as follows:
Customer: An individual may want to install this for additional licensed functionality such as interoperability.
Partner: An ISV may want to ship this as a redistributable component as part of their application.
Developer: A programmer may want to install this to support application development.
So it looks good for SMO being redistributable.
-- J.Kozloski, MCDBA, MCITP
Post #628958
Phil Factor
Phil Factor
Posted Friday, January 02, 2009 10:33 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Sunday, May 19, 2013 4:00 AM
Points: 533,
Visits: 2,285
Thanks both of you for the info. That was very helpful, and makes the SMO solution look very attractive.
Best wishes,
Phil Factor
Simple Talk
Post #628963
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Friday, January 02, 2009 10:41 AM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Friday, May 17, 2013 11:21 AM
Points: 4,317,
Visits: 9,216
Phil Factor (1/2/2009)
Is the SMO library freely-distributable? What would happen if you created a Powershell application using SMO, and then wanted to install it on a computer that didn't have SSMS on it? It would seem a reasonable thing to want to do.
Yes, you can download the management objects separately. You get them from the feature pack downloads for the version you are using. For example, SQL Server 2005 feature packs can be found at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=536fd7d5-013f-49bc-9fc7-77dede4bb075&displaylang=en
Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.
How to post questions to get better answers faster
Managing Transaction Logs
Post #628971
Anipaul
Anipaul
Posted Friday, January 02, 2009 10:45 AM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Yesterday @ 1:35 AM
Points: 4,788,
Visits: 1,336
Nice article...:)
Post #628976
RBarryYoung
RBarryYoung
Posted Friday, January 02, 2009 12:19 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
Thanks Chad, this is great.
-- RBarryYoung
,
(302)375-0451
blog:
MovingSQL.com
, Twitter:
@RBarryYoung
Proactive
Performance Solutions, Inc.
"Performance is our middle name."
Post #629023
Tom Garth
Tom Garth
Posted Saturday, January 03, 2009 11:16 AM
SSC Eights!
Group: General Forum Members
Last Login: Friday, February 04, 2011 7:20 AM
Points: 977,
Visits: 1,499
Good article Chad,
You hear about these things and don't have time to look into them, then someone comes along and writes a nice concise article demonstrating a real cool tool.
Thanks,
Tom Garth
Vertical Solutions
"There are three kinds of men. The one that learns by reading. The few who learn by observation. The rest of them have to pee on the electric fence for themselves." -- Will Rogers
Post #629314
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.