I am trying to script User Mapping for different Login accounts. I have scripted the creation of users and individual server roles, but I can't figure out how to set User Mapping with Powershell, I will also need to set the Database Role membership
, in Particular, db_backupoperator
Anyone know how to do this with Powershell?