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

docs fixes #4967

Merged
merged 2 commits into from
Jan 16, 2019
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions functions/Invoke-DbaDiagnosticQuery.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -93,27 +93,27 @@ function Invoke-DbaDiagnosticQuery {
Then it will export the results to Export-DbaDiagnosticQuery.

.EXAMPLE
PS C:\> Invoke-DbaDiagnosticQuery -sqlinstance localhost -ExportQueries -outputpath "C:\temp\DiagnosticQueries"
PS C:\> Invoke-DbaDiagnosticQuery -SqlInstance localhost -ExportQueries -OutputPath "C:\temp\DiagnosticQueries"

Export All Queries to Disk

.EXAMPLE
PS C:\> Invoke-DbaDiagnosticQuery -sqlinstance localhost -DatabaseSpecific -DatabaseName 'tempdb' -ExportQueries -outputpath "C:\temp\DiagnosticQueries"
PS C:\> Invoke-DbaDiagnosticQuery -SqlInstance localhost -DatabaseSpecific -ExportQueries -OutputPath "C:\temp\DiagnosticQueries"

Export Database Specific Queries for all User Dbs

.EXAMPLE
PS C:\> Invoke-DbaDiagnosticQuery -sqlinstance localhost -DatabaseSpecific -DatabaseName 'tempdb' -ExportQueries -outputpath "C:\temp\DiagnosticQueries"
PS C:\> Invoke-DbaDiagnosticQuery -SqlInstance localhost -DatabaseSpecific -DatabaseName 'tempdb' -ExportQueries -OutputPath "C:\temp\DiagnosticQueries"

Export Database Specific Queries For One Target Database

.EXAMPLE
PS C:\> Invoke-DbaDiagnosticQuery -sqlinstance localhost -DatabaseSpecific -DatabaseName 'tempdb' -ExportQueries -outputpath "C:\temp\DiagnosticQueries" -queryname 'Database-scoped Configurations'
PS C:\> Invoke-DbaDiagnosticQuery -SqlInstance localhost -DatabaseSpecific -DatabaseName 'tempdb' -ExportQueries -OutputPath "C:\temp\DiagnosticQueries" -queryname 'Database-scoped Configurations'

Export Database Specific Queries For One Target Database and One Specific Query

.EXAMPLE
PS C:\> Invoke-DbaDiagnosticQuery -sqlinstance localhost -UseSelectionHelper
PS C:\> Invoke-DbaDiagnosticQuery -SqlInstance localhost -UseSelectionHelper

Choose Queries To Export

Expand Down
3 changes: 1 addition & 2 deletions functions/Test-DbaDiskSpeed.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ function Test-DbaDiskSpeed {
.DESCRIPTION
Tests how disks are performing.

This command uses a query from Rich Benner which was adapted from David Pless's article:
https://blogs.msdn.microsoft.com/dpless/2010/12/01/leveraging-sys-dm_io_virtual_file_stats/
This command uses a query from Rich Benner
https://github.com/RichBenner/PersonalCode/blob/master/Disk_Speed_Check.sql

.PARAMETER SqlInstance
Expand Down