Home Forums Programming Powershell power my PS script to automatically connect via SQL authentication and execute the command RE: power my PS script to automatically connect via SQL authentication and execute the command

  • This should get you going, though hard-coding username/password in a script is not good practice, as I'm sure you are aware.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.