Skip to content

Commit

Permalink
Invoke-DbaDbLogShipRecovery - update help examples - Need force to do…
Browse files Browse the repository at this point in the history
… all databases (dataplat#7851)
  • Loading branch information
jpomfret authored Oct 11, 2021
1 parent e110617 commit a1db546
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions/Invoke-DbaDbLogShipRecovery.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ function Invoke-DbaDbLogShipRecovery {
https://dbatools.io/Invoke-DbaDbLogShipRecovery
.EXAMPLE
PS C:\> Invoke-DbaDbLogShipRecovery -SqlInstance server1
PS C:\> Invoke-DbaDbLogShipRecovery -SqlInstance server1 -Force
Recovers all the databases on the instance that are enabled for log shipping
.EXAMPLE
PS C:\> Invoke-DbaDbLogShipRecovery -SqlInstance server1 -SqlCredential $cred -Verbose
PS C:\> Invoke-DbaDbLogShipRecovery -SqlInstance server1 -SqlCredential $cred -Verbose -Force
Recovers all the databases on the instance that are enabled for log shipping using a credential
Expand All @@ -89,7 +89,7 @@ function Invoke-DbaDbLogShipRecovery {
Recovers the database db1, db2, db3, db4 to a normal status
.EXAMPLE
PS C:\> Invoke-DbaDbLogShipRecovery -SqlInstance server1 -WhatIf
PS C:\> Invoke-DbaDbLogShipRecovery -SqlInstance server1 -Force -WhatIf
Shows what would happen if the command were executed.
Expand Down

0 comments on commit a1db546

Please sign in to comment.