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.