Dbatools: DbaServer Rename

Created on 19 Nov 2018  路  10Comments  路  Source: sqlcollaborative/dbatools

The name never sat right with me. I'd like to change a few of these

image

ServerAudit -> Audit and then make a DbAudit <-- for sure
ServerAuditSpecificiation -> Audit and then make a DbAuditSpecificiation <-- for sure
ServerTrigger -> Trigger. DbTrigger already exists <-- questionable
ServerRole -> Role, then make a DbRole
ServerRoleMember -> RoleMember. DbRoleMember already exists

Question breaking-changes

Most helpful comment

and thank you!

All 10 comments

The Names reflects pretty good with what the same feature is called on the Sql Server

i'd still like to go forward but it turns out there are breaking changes so going to put this on hold till closer to 1.0

Isn't there an inherent difference between ServerTrigger & ServerRole and DbTrigger & DbRole i.e. the former being server based and the latter being database based?

To distinguish the difference, you'd need something like Server in there, or maybe Srv for brevity.

I was going to suggest adding a switch parameter -Server if you want to do something server based but I'd say that's too hidden away so wouldn't be discover-able enough for PowerShell.

yeah, they are there for legit reasons. i guess im just iffy on the word Server? Should it be Instance? But they are called Server in SMO i think

and thank you!

I believe that whatever you pick will be the right choice. So I can live with either Server or Instance

I prefer Instance but can live with either :)

thank you all, i think im leaning instance since server never sat right 鉂わ笍

To ship is to choose :}

k going instance, doing this now

Was this page helpful?
0 / 5 - 0 ratings