From 992c06b5ae71e381e44843bbb4b773f9b28b8e8a Mon Sep 17 00:00:00 2001 From: Chrissy LeMaire Date: Wed, 15 Aug 2018 21:24:49 +0200 Subject: [PATCH] 0.9.387 --- allcommands.ps1 | 358 +++++++++++++++++- bin/dbatools-index.json | 10 + ...SQLServerDiagnosticQueries_2017_201807.sql | 43 ++- dbatools.psd1 | 39 +- dbatools.psm1 | 14 +- install.ps1 | 14 +- xml/dbatools.Format.ps1xml | 14 +- xml/dbatools.Types.ps1xml | 14 +- 8 files changed, 419 insertions(+), 87 deletions(-) diff --git a/allcommands.ps1 b/allcommands.ps1 index e6c454f27c..96224c8759 100644 --- a/allcommands.ps1 +++ b/allcommands.ps1 @@ -2606,6 +2606,223 @@ function ConvertTo-DbaDataTable { , $datatable } } +function ConvertTo-DbaTimeline { + <# + .SYNOPSIS + Converts InputObject to a html timeline using Google Chart + + .DESCRIPTION + This function accepts input as pipeline from the following psdbatools functions: + Get-DbaAgentJobHistory + Get-DbaBackupHistory + (more to come...) + And generates Bootstrap based, HTML file with Google Chart Timeline + + .PARAMETER InputObject + + Pipe input, must an output from the above functions. + + .PARAMETER EnableException + By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message. + This avoids overwhelming you with "sea of red" exceptions, but is inconvenient because it basically disables advanced scripting. + Using this switch turns this "nice by default" feature off and enables you to catch exceptions with your own try/catch. + + .NOTES + Tags: Chart + Author: Marcin Gminski (@marcingminski) + Dependency: ConvertTo-JsDate, Convert-DbaTimelineStatusColor + + Website: https://dbatools.io + Copyright: (C) Chrissy LeMaire, clemaire@gmail.com +- License: MIT https://opensource.org/licenses/MIT + + .LINK + https://dbatools.io/ConvertTo-DbaTimeline + + .EXAMPLE + Get-DbaAgentJobHistory -SqlInstance sql-1 -StartDate '2018-08-13 00:00' -EndDate '2018-08-13 23:59' -NoJobSteps | ConvertTo-DbaTimeline | Out-File C:\temp\DbaAgentJobHistory.html -Encoding ASCII + + Creates an output file containing a pretty timeline for all of the agent job history results for sql-1 the whole day of 2018-08-13 + + .EXAMPLE + Get-DbaRegisteredServer -SqlInstance sqlcm | Get-DbaBackupHistory -Since '2018-08-13 00:00' | ConvertTo-DbaTimeline | Out-File C:\temp\DbaBackupHistory.html -Encoding ASCII + + Creates an output file containing a pretty timeline for the agent job history since 2018-08-13 for all of the registered servers on sqlcm + + .EXAMPLE + $messageParameters = @{ + Subject = "Backup history for sql2017 and sql2016" + Body = Get-DbaBackupHistory -SqlInstance sql2017, sql2016 -Since '2018-08-13 00:00' | ConvertTo-DbaTimeline + From = "dba@ad.local" + To = "dba@ad.local" + SmtpServer = "smtp.ad.local" + } + Send-MailMessage @messageParameters -BodyAsHtml + + Sends an email to dba@ad.local with the results of Get-DbaBackupHistory. Note that viewing these reports may not be supported in all email clients. + #> + + [CmdletBinding()] + Param ( + [parameter(Mandatory, ValueFromPipeline)] + [object[]]$InputObject, + [switch]$EnableException + ) + begin { + $body = $servers = @() + $begin = @" + + + + + + + + + + + + + + + + +
+

$($CallerName) timeline for server $($servers -join ', ')

+
+
+
+
+
+

dbatools.io - the community's sql powershell module. Find us on Twitter: @psdbatools | Chart by @marcingminski

+
+ + +"@ + $begin, $body, $end + } +} function ConvertTo-DbaXESession { <# .SYNOPSIS @@ -21628,10 +21845,13 @@ function Get-DbaAgentJobHistory { } Add-Member -Force -InputObject $execution -MemberType NoteProperty -Name OutputFileName -value $outname Add-Member -Force -InputObject $execution -MemberType NoteProperty -Name RemoteOutputFileName -value $outremote - Select-DefaultView -InputObject $execution -Property ComputerName, InstanceName, SqlInstance, 'JobName as Job', StepName, RunDate, StartDate, EndDate, Duration, Status, OperatorEmailed, Message, OutputFileName, RemoteOutputFileName + # Add this in for easier ConvertTo-DbaTimeline Support + Add-Member -Force -InputObject $execution -MemberType NoteProperty -Name TypeName -value AgentJobHistory + Select-DefaultView -InputObject $execution -Property ComputerName, InstanceName, SqlInstance, 'JobName as Job', StepName, RunDate, StartDate, EndDate, Duration, Status, OperatorEmailed, Message, OutputFileName, RemoteOutputFileName -TypeName AgentJobHistory } else { - Select-DefaultView -InputObject $execution -Property ComputerName, InstanceName, SqlInstance, 'JobName as Job', StepName, RunDate, StartDate, EndDate, Duration, Status, OperatorEmailed, Message + Add-Member -Force -InputObject $execution -MemberType NoteProperty -Name TypeName -value AgentJobHistory + Select-DefaultView -InputObject $execution -Property ComputerName, InstanceName, SqlInstance, 'JobName as Job', StepName, RunDate, StartDate, EndDate, Duration, Status, OperatorEmailed, Message -TypeName AgentJobHistory } } @@ -88886,6 +89106,61 @@ function Convert-DbaMessageTarget { return $Target } +function Convert-DbaTimelineStatusColor { + <# + .SYNOPSIS + Converts literal string status to a html color + + .DESCRIPTION + This function acceptes Agnet Job status as literal string input and covnerts to html color. + This is internal function, part of ConvertTo-DbaTimeline + + .PARAMETER Status + + The Status input parameter must be a valid SQL Agent Job status as literal string as defined in MS Books: + Status of the job execution: + Failed + Succeeded + Retry + Canceled + In Progress + + .NOTES + Tags: Internal + Author: Marcin Gminski (@marcingminski) + + Dependency: None + Requirements: None + + Website: https://dbatools.io + Copyright: (C) Chrissy LeMaire, clemaire@gmail.com +- License: MIT https://opensource.org/licenses/MIT + + .LINK + --internal function, not exposed to end user + + .EXAMPLE + Convert-DbaTimelineStatusColor ("Succeeded") + + Returned string: #36B300 + #> + + [CmdletBinding()] + param ( + [Parameter(Mandatory = $true)] + [string] + $Status + ) + $out = switch($Status){ + "Failed" {"#FF3D3D"} + "Succeeded" {"#36B300"} + "Retry" {"#FFFF00"} + "Canceled" {"#C2C2C2"} + "In Progress" {"#00CCFF"} + default {"#FF00CC"} + } + return $out +} function Convert-DbVersionToSqlVersion { <# .SYNOPSIS @@ -88965,6 +89240,51 @@ function Convert-HexStringToByte { [byte[]]$outByte = $null; $outByte += 0 .. (($hexString.Length) / 2 - 1) | ForEach-Object { [Int16]::Parse($hexString.Substring($_ * 2, 2), 'HexNumber') } Return $outByte } +function ConvertTo-JsDate { + <# + .SYNOPSIS + Converts Datetime input to a Java Script date format + + .DESCRIPTION + This function acceptes date time input and converts to a Java script compatible format. + Java Script date time format: + New date (yyyy, MM, dd, HH, mm, ss) + + This is internal function part of ConvertTo-DbaTimeline + + .PARAMETER InputDate + + The InputDate parameter must be a valid datetime type + + .NOTES + Tags: Internal + Author: Marcin Gminski (@marcingminski) + + Dependency: None + Requirements: None + + Website: https://dbatools.io + Copyright: (C) Chrissy LeMaire, clemaire@gmail.com +- License: MIT https://opensource.org/licenses/MIT + + .LINK + --internal function, not exposed to end user + + .EXAMPLE + ConvertTo-JsDate (Get-Date) + + Returned output: new Date(2018, 7, 14, 07, 40, 42) + #> + + [CmdletBinding()] + param ( + [Parameter(Mandatory = $true)] + [datetime] + $InputDate + ) + [string]$out = "new Date($(Get-Date $InputDate -format "yyyy"), $($(Get-Date $InputDate -format "MM")-1), $(Get-Date $InputDate -format "dd"), $(Get-Date $InputDate -format "HH"), $(Get-Date $InputDate -format "mm"), $(Get-Date $InputDate -format "ss"))" + return $out +} function Disconnect-Regserver ($Server) { $i = 0 do { $server = $server.Parent } @@ -97125,8 +97445,8 @@ function Write-HostColor { # SIG # Begin signature block # MIIcYgYJKoZIhvcNAQcCoIIcUzCCHE8CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB # gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR -# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUahOQCXNtGBtG8U5X1ZnZCQ+B -# BNmggheRMIIFGjCCBAKgAwIBAgIQAsF1KHTVwoQxhSrYoGRpyjANBgkqhkiG9w0B +# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUByJdp414oEaSCj7NdYu1sTR0 +# +yiggheRMIIFGjCCBAKgAwIBAgIQAsF1KHTVwoQxhSrYoGRpyjANBgkqhkiG9w0B # AQsFADByMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYD # VQQLExB3d3cuZGlnaWNlcnQuY29tMTEwLwYDVQQDEyhEaWdpQ2VydCBTSEEyIEFz # c3VyZWQgSUQgQ29kZSBTaWduaW5nIENBMB4XDTE3MDUwOTAwMDAwMFoXDTIwMDUx @@ -97257,22 +97577,22 @@ function Write-HostColor { # c3N1cmVkIElEIENvZGUgU2lnbmluZyBDQQIQAsF1KHTVwoQxhSrYoGRpyjAJBgUr # DgMCGgUAoHgwGAYKKwYBBAGCNwIBDDEKMAigAoAAoQKAADAZBgkqhkiG9w0BCQMx # DAYKKwYBBAGCNwIBBDAcBgorBgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAjBgkq -# hkiG9w0BCQQxFgQU2yEJJwkj+hf8RBlidroqE8qlKp8wDQYJKoZIhvcNAQEBBQAE -# ggEACTahnG37l5onoLN46OSSyKjwS7b/vCbRbuFFgzNUDQIDvKXygvqYIbJU3kiZ -# ntavuDEV0fI2tStyu+w2Kwe+JWp5Kqq0xRPjHk5MjRQMzI7IpxPYfMR0M7QMei4q -# yIM5CT1I6G0zkd+Fc+SvZmfV7ry9o9FLj8uJgcpO6osNWvtKxzuS+uT5zX8tJM/P -# w4OS193Es7O1pToH4Jeel+4oYK+rlsEUPz+yjbx93wp2Em+rwRv6icYVchXGE1wW -# ufv11fZKxzT4kc0uX+HhBwYLmr3/x647/XIv2EoxD+ls34fXTFpO1k35QF2QMUEW -# KARYLC4mowwKUf3xe6/7LTvNY6GCAg8wggILBgkqhkiG9w0BCQYxggH8MIIB+AIB +# hkiG9w0BCQQxFgQU4F8jTtteupBaqnnsePQpFYgRUigwDQYJKoZIhvcNAQEBBQAE +# ggEAS+dYx4fhxb8pPmFeJlDzxzf7HIn9FGcE9ck4eaZbQSC1h2qe51hRE/bVBGL5 +# HHCbls5UfFi8SeaDLigx6O8Cs6ng+1OZlJ6myyuiSCFohmLziZEzAIQMvSZ1e5Og +# ge7QItOos8R7bM3gco5YOhqWtsFPITOVBditckFECoSQ6j9/fNdGnXpWox5eoQaP +# KGphvtH8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yjHF82gTXJLHJwprC +# TempwlGh+gqN7UjKefN8mTTIHHp455Pow4qR/PjtCfec0zr8Ewhe4KrFIu2LJ6KS +# gHIAuBz1HS3JNK6Cu2ym+JfeLk3mvraVsnlv0CMmCh+/g+hmYbp52rz2O1MR1E5X +# EKrFhJ62Q+E70X9yVuZERCvfCoCVJf3rZvaPE5MppBMS9zAg8FMFWZm9xqw2W3GB +# S9qf8RFl+MoSlhVaMQD9brH+xCWElamEDYm3AYEelLxQ4PFfiGfJ534p22cw7b8b +# ujVgF/mijtYSlfGScNKKdZPZb1OabQ== # SIG # End signature block diff --git a/bin/dbatools-index.json b/bin/dbatools-index.json index 348250c17c..cd6892a3ce 100644 --- a/bin/dbatools-index.json +++ b/bin/dbatools-index.json @@ -135,6 +135,16 @@ "Links": "https://dbatools.io/ConvertTo-DbaDataTable", "Examples": "\r\n-------------------------- EXAMPLE 1 --------------------------\r\n\r\nPS C:\\\u003eGet-Service | ConvertTo-DbaDataTable\r\n\r\nCreates a DataTable from the output of Get-Service.\r\n\r\n\r\n\r\n\r\n-------------------------- EXAMPLE 2 --------------------------\r\n\r\nPS C:\\\u003eConvertTo-DbaDataTable -InputObject $csv.cheesetypes\r\n\r\nCreates a DataTable from the CSV object $csv.cheesetypes.\r\n\r\n\r\n\r\n\r\n-------------------------- EXAMPLE 3 --------------------------\r\n\r\nPS C:\\\u003e$dblist | ConvertTo-DbaDataTable\r\n\r\nCreates a DataTable from the $dblist object passed in via pipeline.\r\n\r\n\r\n\r\n\r\n-------------------------- EXAMPLE 4 --------------------------\r\n\r\nPS C:\\\u003eGet-Process | ConvertTo-DbaDataTable -TimeSpanType TotalSeconds\r\n\r\nCreates a DataTable with the running processes and converts any TimeSpan property to TotalSeconds.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n" }, + { + "CommandName": "ConvertTo-DbaTimeline", + "Description": "This function accepts input as pipeline from the following psdbatools functions:\n Get-DbaAgentJobHistory\n Get-DbaBackupHistory\n (more to come...)\nAnd generates Bootstrap based, HTML file with Google Chart Timeline", + "Tags": "Chart", + "Author": "Marcin Gminski (@marcingminski)", + "Synopsis": "Converts InputObject to a html timeline using Google Chart", + "Name": "ConvertTo-DbaTimeline", + "Links": "https://dbatools.io/ConvertTo-DbaTimeline", + "Examples": "\r\n-------------------------- EXAMPLE 1 --------------------------\r\n\r\nPS C:\\\u003eGet-DbaAgentJobHistory -SqlInstance sql-1 -StartDate \u00272018-08-13 00:00\u0027 -EndDate \u00272018-08-13 23:59\u0027 -NoJobSteps \r\n| ConvertTo-DbaTimeline | Out-File C:\\temp\\DbaAgentJobHistory.html -Encoding ASCII\r\n\r\nCreates an output file containing a pretty timeline for all of the agent job history results for sql-1 the whole day of \r\n2018-08-13\r\n\r\n\r\n\r\n\r\n-------------------------- EXAMPLE 2 --------------------------\r\n\r\nPS C:\\\u003eGet-DbaRegisteredServer -SqlInstance sqlcm | Get-DbaBackupHistory -Since \u00272018-08-13 00:00\u0027 | \r\nConvertTo-DbaTimeline | Out-File C:\\temp\\DbaBackupHistory.html -Encoding ASCII\r\n\r\nCreates an output file containing a pretty timeline for the agent job history since 2018-08-13 for all of the \r\nregistered servers on sqlcm\r\n\r\n\r\n\r\n\r\n-------------------------- EXAMPLE 3 --------------------------\r\n\r\nPS C:\\\u003e$messageParameters = @{\r\n\r\nSubject = \"Backup history for sql2017 and sql2016\"\r\n Body = Get-DbaBackupHistory -SqlInstance sql2017, sql2016 -Since \u00272018-08-13 00:00\u0027 | ConvertTo-DbaTimeline\r\n From = \"dba@ad.local\"\r\n To = \"dba@ad.local\"\r\n SmtpServer = \"smtp.ad.local\"\r\n}\r\nSend-MailMessage @messageParameters -BodyAsHtml\r\n\r\nSends an email to dba@ad.local with the results of Get-DbaBackupHistory. Note that viewing these reports may not be \r\nsupported in all email clients.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n" + }, { "CommandName": "ConvertTo-DbaXESession", "Description": "Uses a slightly modified version of sp_SQLskills_ConvertTraceToExtendedEvents.sql to convert Traces to Extended Events.\n\nT-SQL code by: Jonathan M. Kehayias, SQLskills.com. T-SQL can be found in this module directory and at\nhttps://www.sqlskills.com/blogs/jonathan/converting-sql-trace-to-extended-events-in-sql-server-2012/", diff --git a/bin/diagnosticquery/SQLServerDiagnosticQueries_2017_201807.sql b/bin/diagnosticquery/SQLServerDiagnosticQueries_2017_201807.sql index 6a015a0a72..b9bf114b68 100644 --- a/bin/diagnosticquery/SQLServerDiagnosticQueries_2017_201807.sql +++ b/bin/diagnosticquery/SQLServerDiagnosticQueries_2017_201807.sql @@ -1,7 +1,7 @@ -- SQL Server 2017 Diagnostic Information Queries -- Glenn Berry --- Last Modified: August 2, 2018 +-- Last Modified: August 14, 2018 -- https://www.sqlskills.com/blogs/glenn/ -- http://sqlserverperformance.wordpress.com/ -- Twitter: GlennAlanBerry @@ -57,26 +57,27 @@ SELECT @@SERVERNAME AS [Server Name], @@VERSION AS [SQL Server and OS Version In ------ -- SQL Server 2017 Builds --- Build Description Release Date URL to KB Article --- 14.0.1.246 CTP 1.0 11/30/2016 --- 14.0.100.187 CTP 1.1 12/16/2016 --- 14.0.200.24 CTP 1.2 1/19/2017 --- 14.0.304.138 CTP 1.3 2/17/2017 --- 14.0.405.198 CTP 1.4 3/20/2017 --- 14.0.500.272 CTP 2.0 4/19/2017 --- 14.0.600.250 CTP 2.1 5/17/2017 --- 14.0.800.90 RC1 7/17/2017 --- 14.0.900.75 RC2 8/2/2017 --- 14.0.1000.169 RTM 10/2/2017 --- 14.0.3006.16 CU1 10/24/2017 https://support.microsoft.com/en-us/help/4038634 --- 14.0.3008.27 CU2 11/28/2017 https://support.microsoft.com/en-us/help/4052574 --- 14.0.3015.40 CU3 1/4/2018 https://support.microsoft.com/en-us/help/4052987 --- 14.0.3022.28 CU4 2/20/2018 https://support.microsoft.com/en-us/help/4056498 --- 14.0.3023.8 CU5 3/20/2018 https://support.microsoft.com/en-us/help/4092643 --- 14.0.3025.34 CU6 4/17/2018 https://support.microsoft.com/en-us/help/4101464 --- 14.0.3026.27 CU7 5/23/2018 https://support.microsoft.com/en-us/help/4229789 --- 14.0.3029.16 CU8 6/19/2018 https://support.microsoft.com/en-us/help/4338363 --- 14.0.3030.27 CU9 7/19/2018 https://support.microsoft.com/en-us/help/4341265 +-- Build Description Release Date URL to KB Article +-- 14.0.1.246 CTP 1.0 11/30/2016 +-- 14.0.100.187 CTP 1.1 12/16/2016 +-- 14.0.200.24 CTP 1.2 1/19/2017 +-- 14.0.304.138 CTP 1.3 2/17/2017 +-- 14.0.405.198 CTP 1.4 3/20/2017 +-- 14.0.500.272 CTP 2.0 4/19/2017 +-- 14.0.600.250 CTP 2.1 5/17/2017 +-- 14.0.800.90 RC1 7/17/2017 +-- 14.0.900.75 RC2 8/2/2017 +-- 14.0.1000.169 RTM 10/2/2017 +-- 14.0.3006.16 CU1 10/24/2017 https://support.microsoft.com/en-us/help/4038634 +-- 14.0.3008.27 CU2 11/28/2017 https://support.microsoft.com/en-us/help/4052574 +-- 14.0.3015.40 CU3 1/4/2018 https://support.microsoft.com/en-us/help/4052987 +-- 14.0.3022.28 CU4 2/20/2018 https://support.microsoft.com/en-us/help/4056498 +-- 14.0.3023.8 CU5 3/20/2018 https://support.microsoft.com/en-us/help/4092643 +-- 14.0.3025.34 CU6 4/17/2018 https://support.microsoft.com/en-us/help/4101464 +-- 14.0.3026.27 CU7 5/23/2018 https://support.microsoft.com/en-us/help/4229789 +-- 14.0.3029.16 CU8 6/19/2018 https://support.microsoft.com/en-us/help/4338363 +-- 14.0.3030.27 CU9 7/19/2018 https://support.microsoft.com/en-us/help/4341265 +-- 14.0.3035.2 CU9 + Security Update 8/13/2018 https://www.microsoft.com/en-us/download/details.aspx?id=57263 diff --git a/dbatools.psd1 b/dbatools.psd1 index 1eba7f943c..cf46295a60 100644 --- a/dbatools.psd1 +++ b/dbatools.psd1 @@ -11,7 +11,7 @@ RootModule = 'dbatools.psm1' # Version number of this module. - ModuleVersion = '0.9.385' + ModuleVersion = '0.9.387' # ID used to uniquely identify this module GUID = '9d139310-ce45-41ce-8e8b-d76335aa1789' @@ -484,7 +484,8 @@ 'Remove-DbaRegisteredServerGroup', 'Get-DbaPlanCache', 'Clear-DbaPlanCache', - 'Get-DbaSsisExecutionHistory' + 'Get-DbaSsisExecutionHistory', + 'ConvertTo-DbaTimeline' ) # Cmdlets to export from this module @@ -636,8 +637,8 @@ # SIG # Begin signature block # MIIcYgYJKoZIhvcNAQcCoIIcUzCCHE8CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB # gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR -# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUeEhf6mWuKDxLCweyeBHBF0UO -# 8siggheRMIIFGjCCBAKgAwIBAgIQAsF1KHTVwoQxhSrYoGRpyjANBgkqhkiG9w0B +# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU/9eLUNvkzthZ919/05TKMZeE +# sq6ggheRMIIFGjCCBAKgAwIBAgIQAsF1KHTVwoQxhSrYoGRpyjANBgkqhkiG9w0B # AQsFADByMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYD # VQQLExB3d3cuZGlnaWNlcnQuY29tMTEwLwYDVQQDEyhEaWdpQ2VydCBTSEEyIEFz # c3VyZWQgSUQgQ29kZSBTaWduaW5nIENBMB4XDTE3MDUwOTAwMDAwMFoXDTIwMDUx @@ -768,22 +769,22 @@ # c3N1cmVkIElEIENvZGUgU2lnbmluZyBDQQIQAsF1KHTVwoQxhSrYoGRpyjAJBgUr # DgMCGgUAoHgwGAYKKwYBBAGCNwIBDDEKMAigAoAAoQKAADAZBgkqhkiG9w0BCQMx # DAYKKwYBBAGCNwIBBDAcBgorBgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAjBgkq -# hkiG9w0BCQQxFgQUlFzhWgOuhoZf5FruDSkBp1CEV/4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-# AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTgwODA4MTIxNTI4WjAj -# BgkqhkiG9w0BCQQxFgQUfiIZwyjgbWXq13xNSADwq/orKW8wDQYJKoZIhvcNAQEB -# BQAEggEAYrJWjkgXWUFeI2HJK8uGhj3KAPL/6Ct5GvuFiJYJruhqwfWhDLHnWTlC -# hQrGLM5FCLWwEOcM2yCvHvPf+/8L7qwnF6hVNVHfTRyFC6huh3LBNwcXWpIpPfNv -# FC+n9erGmwKt8kdgNrOGyrJcV7CiylMGD7ZmOQNiKJkt6r+uINdzwvXw49kTaks9 -# inF4cpWLXc+oKQ3xOJKr+HsBi0HaSn/sikaxcuB8XvfgNVDbeDR5GDqjSe3RRUwo -# yX/q60yzMHk8ADX/ic58E3hCcE3vIDBQEwk9UbCoZztNQUQDpMtnzd0k7ddFM9v+ -# 4UP3InaH6F5+j1FRhYNJ66y4JyZWtw== +# AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTgwODE1MTkyMzQ3WjAj +# BgkqhkiG9w0BCQQxFgQUWkylIJ80zGc5G3OOF7g0nBZgcjIwDQYJKoZIhvcNAQEB +# BQAEggEAYvbj0r3X4RDI1gR0K09FqH89EiCSIxbM8qlExjv6iP3lIdR6V22eH6ss +# O+Mi983Ahbeh5Mgli7rMmPJCBwbpxstYZuZGj90RZE0sSfymglrc7L3/Dqp2tsFq +# R7kFh25lYCNTpjYOxn+0tjzIoSfAxKEe8vhSQcV+pIPOW1YL7Vwn8hDVU089mY0L +# 8xb9SWnz8RWEAvNtBLfTRFkH1WUPgFsz8BaNwYbZk4uK65ywtdGRiGGpqWE+UDG8 +# 2OR5FKRMdaParVnP2qAgspaE6sUloymuc9va/i8H8WL6uoikvTB0dQ47Q7PVGEBV +# VVKK6Pem7jcIWKYaa180gVJcD3YI+g== # SIG # End signature block diff --git a/dbatools.psm1 b/dbatools.psm1 index fd940eb8f3..5fc5cf9320 100644 --- a/dbatools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nCTnypSQAQiyAqlku +# uUgLW18g19HK+bdhOZhsuPH/MfSX4oZHi129GpiKICLAMv+qkxm5TLnY8S4DpcTc +# jtvGO9fPlQlnh4HllDB6WQtSm+S70g== # SIG # End signature block diff --git a/install.ps1 b/install.ps1 index 4cd6aae745..8a27538852 100644 --- a/install.ps1 +++ b/install.ps1 @@ -317,12 +317,12 @@ Write-LocalMessage -Message "`n`nIf you experience any function missing errors a # ATB2MGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNV # BAsTEHd3dy5kaWdpY2VydC5jb20xITAfBgNVBAMTGERpZ2lDZXJ0IEFzc3VyZWQg # SUQgQ0EtMQIQAwGaAjr/WLFr1tXq5hfwZjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcN -# AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTgwODA4MTIxNTMxWjAj +# AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTgwODE1MTkyMzQ5WjAj # BgkqhkiG9w0BCQQxFgQU2ergF7YU3jz7T4v+V2ggn9yhehowDQYJKoZIhvcNAQEB -# BQAEggEAUkQNou0x23wtV+Oib1Thb05969+hrSzji3+jcswvcpcUDbHcE3BAs3CS -# +GC1IBJ6lonkwscL+1wshTFUkcn9F4j3pNbLmKOYCEkG4cki+nJ8WZcqBZ1MeWyD -# 5A9oOipD7TLmYTwNIctioQsXEK2gotw78HCZHScd48ul4v/HO+63f0zUpGEfypUe -# pbAi7EmdPKI8qqoqGyytt0CDp0BaE0Ax6SMyDwBznRnryXghyREInT0ajUiwjdjF -# ZJ1Ge/FXxFKIBH/OBBOdv9YPznxzIGCjgLx0xK9O4dAhImb1Nt7ugAdTuVP7YbrP -# SPB3aPDqBsBW+Y2qt5MQ9ouLc4RNGQ== +# BQAEggEARnBJKw+RKdxQDH4PcsBu8wczGCRD+UDCxKeppZVQ6uCWSycb7kIPD1Ia +# l/t/mOF4W61XLxFFm1tv8o4n+c9JveoWNIl3VDlXKDtg9ZzmaRIX5dLLnlaFKRoA +# 6YhincTpd5hspOaM/UISR4g3TnykUf0W6tpuho0Yr1cHuDBnyXLS8Dh6xv9x+b0v +# N6V+1weh3uXheE5y4XDZBmA7maDV+ygNp95JIJon1LZsm65umV5/FJInfpo5rYf5 +# 6J/9GTPS+WnZS4qsQdZNzi63oAWN7yRKnmrO9/TpyqzxW0EXJjDbKZuEX2hAROZU +# rpc3tGobtKgtYhUDXNlFDLmKcuE4xQ== # SIG # End signature block diff --git a/xml/dbatools.Format.ps1xml b/xml/dbatools.Format.ps1xml index 009f4ff3b2..067c9e9482 100644 --- a/xml/dbatools.Format.ps1xml +++ b/xml/dbatools.Format.ps1xml @@ -695,12 +695,12 @@ - + - - - - - - + + + + + + diff --git a/xml/dbatools.Types.ps1xml b/xml/dbatools.Types.ps1xml index 8c71810746..4e7b49359d 100644 --- a/xml/dbatools.Types.ps1xml +++ b/xml/dbatools.Types.ps1xml @@ -210,12 +210,12 @@ - + - - - - - - + + + + + +