Deploy Dacpac on remote machine using Powershell

  • Hi, I am on machine A with windows credentials say UserA and corresponding windows password. I will run powershell script on this machine. SQL 2016 DB is to be deployed on another machine say B.
     but credentials UserA does not have permission on machine B. Say UserB/ pwd has access on machine B.
    Help me get the PowerShell script to achieve this.

  • You can use Get-Credential to enter new credentials.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply