• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

BATCH FILE TO C#

I have been writing batch files for a long time to install SQL Server and updates. I want to move these or create new installation scripts using C#. Does anyone have any sample code to isntall SQL Server using C#?
0
computerstreber
Asked:
computerstreber
1 Solution
 
daveamourCommented:
Hi
I don't have any such code but would like to point out that powershell might be the right tool for the job.  You can write powershell scrips or commandlets in C# and it is built for such admin tasks.
http://en.wikipedia.org/wiki/Windows_PowerShell
 
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now