2

Is there a way I can call the svcutil exe from PowerShell? I need to automate this process through scripting.

dsingh23
  • 185
  • 3
  • 14
  • It should just work if the containing directory is on your PATH. If not, try `$env:PATH += ";C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin"` – Burt_Harris Sep 28 '16 at 00:39
  • I use svcutil to provision/deprovision the database. I have a UI that checks for any changes and if yes i update it manually. I am unable to write a script for the same. – dsingh23 Oct 03 '16 at 20:46

1 Answers1

1

You can run any .exe file with this method :

Start-Process -FilePath 'C:\FileAddress\File.exe'

it's very simple

Timothy Khouri
  • 31,315
  • 21
  • 88
  • 128
saftargholi
  • 896
  • 1
  • 9
  • 25
  • I use svcutil to provision/deprovision the database. I have a UI that checks for any changes and if yes i update it manually. I am unable to write a script for the same. – dsingh23 Oct 03 '16 at 21:18