Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo fix in sync-dbaavailabilitygroup #5027

Merged
merged 1 commit into from
Jan 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions functions/Sync-DbaAvailabilityGroup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ function Sync-DbaAvailabilityGroup {
Specific logins to exclude when performing the sync. If unspecified, all logins will be processed.

.PARAMETER Job
Specific jobs to sync. If unspecified, all logins will be processed.
Specific jobs to sync. If unspecified, all jobs will be processed.

.PARAMETER ExcludeJob
Specific jobs to exclude when performing the sync. If unspecified, all logins will be processed.
Specific jobs to exclude when performing the sync. If unspecified, all jobs will be processed.

.PARAMETER InputObject
Enables piping from Get-DbaAvailabilityGroup.
Expand Down Expand Up @@ -106,15 +106,15 @@ function Sync-DbaAvailabilityGroup {
Syncs the following on all replicas found in the db3 AG:
SpConfigure, CustomErrors, Credentials, DatabaseMail, LinkedServers
Logins, LoginPermissions, SystemTriggers, DatabaseOwner, AgentCategory,
AgentOperator, AgentAlert, AgentProxy, AgentScheduleAgentJob
AgentOperator, AgentAlert, AgentProxy, AgentSchedule, AgentJob

.EXAMPLE
PS C:\> Get-DbaAvailabilityGroup -SqlInstance sql2016a | Sync-DbaAvailabilityGroup -ExcludeType LoginPermissions, LinkedServers -ExcludeLogin login1, login2 -Job job1, job2

Syncs the following on all replicas found in the db3 AG:
Syncs the following on all replicas found in all AGs on the specified instance:
SpConfigure, CustomErrors, Credentials, DatabaseMail, Logins,
SystemTriggers, DatabaseOwner, AgentCategory, AgentOperator
AgentAlert, AgentProxy, AgentScheduleAgentJob.
AgentAlert, AgentProxy, AgentSchedule, AgentJob.

Copies all logins except for login1 and login2 and only syncs job1 and job2

Expand Down Expand Up @@ -339,4 +339,4 @@ function Sync-DbaAvailabilityGroup {
}
}
}
}
}