Skip to content
Permalink
Browse files

1.0.95

  • Loading branch information
potatoqualitee committed Feb 14, 2020
1 parent 48dc144 commit f054ce3efe1bae15d8b1adcfac12da6233672928
Showing with 1 addition and 1 deletion.
  1. +1 −1 en-us/dbatools-help.xml
@@ -8296,7 +8296,7 @@ License: MIT https://opensource.org/licenses/MIT </maml:para></maml:alert></maml
-- Runs CHECKDB DATA_PURITY
-- Runs DBCC UPDATESUSAGE
-- Updates all users statistics
-- Runs sp_refreshview against every view in the database </maml:para></dev:remarks></command:example><command:example><maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title><maml:introduction><maml:para> PS C:\&gt; </maml:para></maml:introduction><dev:code> Invoke-DbaDbUpgrade -SqlInstance PRD-SQL-INT01 -Database Test -NoRefreshView </dev:code><dev:remarks><maml:para> Runs the upgrade command skipping the sp_refreshview update on all views </maml:para></dev:remarks></command:example><command:example><maml:title> -------------------------- EXAMPLE 3 -------------------------- </maml:title><maml:introduction><maml:para> PS C:\&gt; </maml:para></maml:introduction><dev:code> Invoke-DbaDbUpgrade -SqlInstance PRD-SQL-INT01 -Database Test -Force </dev:code><dev:remarks><maml:para> If database Test is already at the correct compatibility, runs every necessary step </maml:para></dev:remarks></command:example><command:example><maml:title> -------------------------- EXAMPLE 4 -------------------------- </maml:title><maml:introduction><maml:para> PS C:\&gt; </maml:para></maml:introduction><dev:code> Get-DbaDatabase -SqlInstance sql2016 | Out-GridView -Passthru | Invoke-DbaDbUpgrade </dev:code><dev:remarks><maml:para> Get only specific databases using GridView and pass those to Invoke-DbaDbUpgrade </maml:para></dev:remarks></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><maml:uri>https://dbatools.io/Invoke-DbaDbUpgrade</maml:uri></maml:navigationLink></maml:relatedLinks></command:command><command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"><command:details><command:name>Invoke-DbaDiagnosticQuery</command:name><command:noun>DbaDiagnosticQuery</command:noun><command:verb>Invoke</command:verb><maml:description><maml:para>Invoke-DbaDiagnosticQuery runs the scripts provided by Glenn Berry's DMV scripts on specified servers</maml:para></maml:description></command:details><maml:description><maml:para>This is the main function of the Sql Server Diagnostic Queries related functions in dbatools.</maml:para><maml:para>The diagnostic queries are developed and maintained by Glenn Berry and they can be found here along with a lot of documentation:</maml:para><maml:para>http://www.sqlskills.com/blogs/glenn/category/dmv-queries/</maml:para><maml:para>The most recent version of the diagnostic queries are included in the dbatools module.</maml:para><maml:para>But it is possible to download a newer set or a specific version to an alternative location and parse and run those scripts.</maml:para><maml:para>It will run all or a selection of those scripts on one or multiple servers and return the result as a PowerShell Object</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Invoke-DbaDiagnosticQuery</maml:name><command:parameter required="true" position="0" pipelineInput="True (ByValue)" aliases="" variableLength="true" globbing="false"><maml:name>SqlInstance</maml:name><maml:description><maml:para>The target SQL Server instance or instances. Can be either a string or SMO server</maml:para></maml:description><command:parameterValue required="true" variableLength="true">Sqlcollaborative.Dbatools.Parameter.DbaInstanceParameter[]</command:parameterValue><dev:type><maml:name>Sqlcollaborative.Dbatools.Parameter.DbaInstanceParameter[]</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false"><maml:name>Database</maml:name><maml:description><maml:para>The database(s) to process. If unspecified, all databases will be processed</maml:para></maml:description><command:parameterValue required="false" variableLength="true">System.Object[]</command:parameterValue><dev:type><maml:name>System.Object[]</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false"><maml:name>ExcludeDatabase</maml:name><maml:description><maml:para>The database(s) to exclude</maml:para></maml:description><command:parameterValue required="false" variableLength="true">System.Object[]</command:parameterValue><dev:type><maml:name>System.Object[]</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false"><maml:name>ExcludeQuery</maml:name><maml:description><maml:para>The Queries to exclude</maml:para></maml:description><command:parameterValue required="false" variableLength="true">System.Object[]</command:parameterValue><dev:type><maml:name>System.Object[]</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false"><maml:name>SqlCredential</maml:name><maml:description><maml:para>Login to the target instance using alternative credentials. Accepts PowerShell credentials (Get-Credential).
-- Runs sp_refreshview against every view in the database </maml:para></dev:remarks></command:example><command:example><maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title><maml:introduction><maml:para> PS C:\&gt; </maml:para></maml:introduction><dev:code> Invoke-DbaDbUpgrade -SqlInstance PRD-SQL-INT01 -Database Test -NoRefreshView </dev:code><dev:remarks><maml:para> Runs the upgrade command skipping the sp_refreshview update on all views </maml:para></dev:remarks></command:example><command:example><maml:title> -------------------------- EXAMPLE 3 -------------------------- </maml:title><maml:introduction><maml:para> PS C:\&gt; </maml:para></maml:introduction><dev:code> Invoke-DbaDbUpgrade -SqlInstance PRD-SQL-INT01 -Database Test -Force </dev:code><dev:remarks><maml:para> If database Test is already at the correct compatibility, runs every necessary step </maml:para></dev:remarks></command:example><command:example><maml:title> -------------------------- EXAMPLE 4 -------------------------- </maml:title><maml:introduction><maml:para> PS C:\&gt; </maml:para></maml:introduction><dev:code> Get-DbaDatabase -SqlInstance sql2016 | Out-GridView -Passthru | Invoke-DbaDbUpgrade </dev:code><dev:remarks><maml:para> Get only specific databases using GridView and pass those to Invoke-DbaDbUpgrade </maml:para></dev:remarks></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><maml:uri>https://dbatools.io/Invoke-DbaDbUpgrade</maml:uri></maml:navigationLink></maml:relatedLinks></command:command><command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"><command:details><command:name>Invoke-DbaDiagnosticQuery</command:name><command:noun>DbaDiagnosticQuery</command:noun><command:verb>Invoke</command:verb><maml:description><maml:para>Invoke-DbaDiagnosticQuery runs the scripts provided by Glenn Berry's DMV scripts on specified servers</maml:para></maml:description></command:details><maml:description><maml:para>This is the main function of the Sql Server Diagnostic Queries related functions in dbatools.</maml:para><maml:para>The diagnostic queries are developed and maintained by Glenn Berry and they can be found here along with a lot of documentation:</maml:para><maml:para>https://glennsqlperformance.com/resources/</maml:para><maml:para>The most recent version of the diagnostic queries are included in the dbatools module.</maml:para><maml:para>But it is possible to download a newer set or a specific version to an alternative location and parse and run those scripts.</maml:para><maml:para>It will run all or a selection of those scripts on one or multiple servers and return the result as a PowerShell Object</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Invoke-DbaDiagnosticQuery</maml:name><command:parameter required="true" position="0" pipelineInput="True (ByValue)" aliases="" variableLength="true" globbing="false"><maml:name>SqlInstance</maml:name><maml:description><maml:para>The target SQL Server instance or instances. Can be either a string or SMO server</maml:para></maml:description><command:parameterValue required="true" variableLength="true">Sqlcollaborative.Dbatools.Parameter.DbaInstanceParameter[]</command:parameterValue><dev:type><maml:name>Sqlcollaborative.Dbatools.Parameter.DbaInstanceParameter[]</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false"><maml:name>Database</maml:name><maml:description><maml:para>The database(s) to process. If unspecified, all databases will be processed</maml:para></maml:description><command:parameterValue required="false" variableLength="true">System.Object[]</command:parameterValue><dev:type><maml:name>System.Object[]</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false"><maml:name>ExcludeDatabase</maml:name><maml:description><maml:para>The database(s) to exclude</maml:para></maml:description><command:parameterValue required="false" variableLength="true">System.Object[]</command:parameterValue><dev:type><maml:name>System.Object[]</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false"><maml:name>ExcludeQuery</maml:name><maml:description><maml:para>The Queries to exclude</maml:para></maml:description><command:parameterValue required="false" variableLength="true">System.Object[]</command:parameterValue><dev:type><maml:name>System.Object[]</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false"><maml:name>SqlCredential</maml:name><maml:description><maml:para>Login to the target instance using alternative credentials. Accepts PowerShell credentials (Get-Credential).

Windows Authentication, SQL Server Authentication, Active Directory - Password, and Active Directory - Integrated are all supported.

0 comments on commit f054ce3

Please sign in to comment.
You can’t perform that action at this time.