From 6bcdc3975f30517bbc35db6614b0876843f22d07 Mon Sep 17 00:00:00 2001 From: 1DontEx1st Date: Thu, 31 Jan 2019 07:36:51 -0500 Subject: [PATCH] typo fix in sync-dbaavailabilitygroup (#5027) Typos fixed in `Sync-DbaAvailabilityGroup` --- functions/Sync-DbaAvailabilityGroup.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/functions/Sync-DbaAvailabilityGroup.ps1 b/functions/Sync-DbaAvailabilityGroup.ps1 index 2d306f80e4..8fa943330f 100644 --- a/functions/Sync-DbaAvailabilityGroup.ps1 +++ b/functions/Sync-DbaAvailabilityGroup.ps1 @@ -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. @@ -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 @@ -339,4 +339,4 @@ function Sync-DbaAvailabilityGroup { } } } -} \ No newline at end of file +}