Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
PowerShell Development
>
Cmdlet Development
How to use invoke-sqlcmd with SQL Server 2005
Last Post 14 Jul 2010 02:54 PM by
Marco Shaw
. 1 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
SwedishOrr
New Member
Posts:2
14 Jul 2010 12:45 PM
Does anyone know how to use / create this cmdlet for use against SQL Server 2005?
Marco Shaw
Veteran Member
Posts:1684
14 Jul 2010 02:54 PM
You're looking to run it locally or against a remote SQL 2005 server? You need SQL Server 2008 to get the cmdlet, but you could still create your own script or function of the same name and have it run against another version.
You are not authorized to post a reply.
Using PowerShell
--General PowerShell
--Active Directory
--Exchange Server
--SharePoint
--SQL Server
--System Center
--Non-Microsoft Products
--Books, Tools, and Videos
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
PowerShell Development
>
Cmdlet Development
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2