header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
How to use invoke-sqlcmd with SQL Server 2005
Last Post 14 Jul 2010 03:54 PM by Marco Shaw (MVP). 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
SwedishOrrUser is Offline
New Member
New Member
Posts:2
Avatar

--
14 Jul 2010 01:45 PM
    Does anyone know how to use / create this cmdlet for use against SQL Server 2005?
    Marco Shaw (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1642
    Avatar

    --
    14 Jul 2010 03: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.
    Marco

    *Microsoft MVP - Windows PowerShell
    https://mvp.support.microsoft.com/profile/Marco.Shaw
    *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
    *Blog - http://marcoshaw.blogspot.com
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer