source
stringclasses
1 value
repo
stringclasses
33 values
repo_url
stringclasses
33 values
path
stringlengths
7
179
language
stringclasses
1 value
license
stringclasses
4 values
stars
int64
2.27k
53.4k
ref
stringclasses
4 values
size_bytes
int64
48
259k
text
stringlengths
48
259k
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/ConvertTo-DbaDataTable.Tests.ps1
PowerShell
mit
2,763
development
12,684
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "ConvertTo-DbaDataTable", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaLinkedServer.Tests.ps1
PowerShell
mit
2,763
development
8,733
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaLinkedServer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaAdvancedUpdate.Tests.ps1
PowerShell
mit
2,763
development
9,391
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaAdvancedUpdate", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Stop-DbaDbEncryption.Tests.ps1
PowerShell
mit
2,763
development
7,043
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Stop-DbaDbEncryption", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Find-DbaObject.Tests.ps1
PowerShell
mit
2,763
development
10,334
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaObject", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaAdvancedInstall.Tests.ps1
PowerShell
mit
2,763
development
26,350
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaAdvancedInstall", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaPolicyManagement.Tests.ps1
PowerShell
mit
2,763
development
7,339
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaPolicyManagement", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaXESession.Tests.ps1
PowerShell
mit
2,763
development
1,036
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaXESession", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Read-DbaBackupHeader.Tests.ps1
PowerShell
mit
2,763
development
1,131
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Read-DbaBackupHeader", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaFilestream.Tests.ps1
PowerShell
mit
2,763
development
1,193
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaFilestream", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaReplPublication.Tests.ps1
PowerShell
mit
2,763
development
1,048
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaReplPublication", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Enable-DbaStartupProcedure.Tests.ps1
PowerShell
mit
2,763
development
4,782
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Enable-DbaStartupProcedure", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/appveyor.SQL2008R2SP2.ps1
PowerShell
mit
2,763
development
1,479
$indent = '...' Write-Host -Object "$indent Running $PSCommandPath" -ForegroundColor DarkGreen # This script spins up the 2008R2SP2 instance and the relative setup $sqlinstance = "localhost\SQL2008R2SP2" $instance = "SQL2008R2SP2" $port = "1433" Write-Host -Object "$indent Setting up AppVeyor Services" -ForegroundCo...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Install-DbaMultiTool.Tests.ps1
PowerShell
mit
2,763
development
7,204
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Install-DbaMultiTool", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaOptimizeForAdHoc.Tests.ps1
PowerShell
mit
2,763
development
1,456
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaOptimizeForAdHoc", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaOleDbProvider.Tests.ps1
PowerShell
mit
2,763
development
1,147
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaOleDbProvider", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaDbMaskingConfig.Tests.ps1
PowerShell
mit
2,763
development
6,102
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaDbMaskingConfig", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaPbmPolicy.Tests.ps1
PowerShell
mit
2,763
development
5,068
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPbmPolicy", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Reset-DbatoolsConfig.Tests.ps1
PowerShell
mit
2,763
development
1,046
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Reset-DbatoolsConfig", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Export-DbaCsv.Tests.ps1
PowerShell
mit
2,763
development
14,584
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaCsv", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" {...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaInstantFileInitialization.Tests.ps1
PowerShell
mit
2,763
development
4,193
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaInstantFileInitialization", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the exp...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaXESessionTarget.Tests.ps1
PowerShell
mit
2,763
development
1,726
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaXESessionTarget", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaAgDatabase.Tests.ps1
PowerShell
mit
2,763
development
4,171
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgDatabase", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/appveyor.common.Tests.ps1
PowerShell
mit
2,763
development
809
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "appveyor.common", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { BeforeAll { . "$PSScriptRoot\appveyor.common.ps1" } Context "Get-...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaPageFileSetting.Tests.ps1
PowerShell
mit
2,763
development
1,175
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPageFileSetting", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaCpuUsage.Tests.ps1
PowerShell
mit
2,763
development
1,134
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaCpuUsage", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters"...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/appveyor.SQL2016.ps1
PowerShell
mit
2,763
development
1,638
$indent = '...' Write-Host -Object "Running $PSCommandPath" -ForegroundColor DarkGreen # This script spins up the 2016 instance and the relative setup $sqlinstance = "localhost\SQL2016" $instance = "SQL2016" $port = "14333" Write-Host -Object "$indent Setting up AppVeyor Services" -ForegroundColor DarkGreen Set-Serv...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaAgDatabase.Tests.ps1
PowerShell
mit
2,763
development
3,894
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaAgDatabase", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbMailHistory.Tests.ps1
PowerShell
mit
2,763
development
5,288
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbMailHistory", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaAgRingBuffer.Tests.ps1
PowerShell
mit
2,763
development
4,738
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgRingBuffer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaOperatingSystem.Tests.ps1
PowerShell
mit
2,763
development
2,749
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaOperatingSystem", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Add-DbaAgListener.Tests.ps1
PowerShell
mit
2,763
development
3,812
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Add-DbaAgListener", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaWsfcNetwork.Tests.ps1
PowerShell
mit
2,763
development
810
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWsfcNetwork", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Clear-DbaLatchStatistics.Tests.ps1
PowerShell
mit
2,763
development
1,412
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Clear-DbaLatchStatistics", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaDbDecryptObject.Tests.ps1
PowerShell
mit
2,763
development
15,276
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbDecryptObject", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaCmConnection.Tests.ps1
PowerShell
mit
2,763
development
1,435
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaCmConnection", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaLoginPassword.Tests.ps1
PowerShell
mit
2,763
development
2,863
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaLoginPassword", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaSqlParameter.Tests.ps1
PowerShell
mit
2,763
development
3,247
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaSqlParameter", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaDbCompatibility.Tests.ps1
PowerShell
mit
2,763
development
1,760
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaDbCompatibility", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbObjectTrigger.Tests.ps1
PowerShell
mit
2,763
development
8,141
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbObjectTrigger", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaDbRoleMember.Tests.ps1
PowerShell
mit
2,763
development
6,880
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbRoleMember", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaPbmCategorySubscription.Tests.ps1
PowerShell
mit
2,763
development
1,057
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPbmCategorySubscription", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expec...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/dbatools.Tests.ps1
PowerShell
mit
2,763
development
11,956
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools" ) $Path = Split-Path -Parent $MyInvocation.MyCommand.Path $ModulePath = (Get-Item $Path).Parent.FullName #$ManifestPath = "$ModulePath\$ModuleName.psd1" Describe "$ModuleName Aliases" -Tag Aliases, Build { ## Get th...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDeprecatedFeature.Tests.ps1
PowerShell
mit
2,763
development
1,706
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDeprecatedFeature", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Export-DbaDbTableData.Tests.ps1
PowerShell
mit
2,763
development
3,632
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaDbTableData", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbPartitionScheme.Tests.ps1
PowerShell
mit
2,763
development
3,930
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbPartitionScheme", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaAgentProxy.Tests.ps1
PowerShell
mit
2,763
development
4,211
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaAgentProxy", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbatoolsFormatter.Tests.ps1
PowerShell
mit
2,763
development
2,818
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbatoolsFormatter", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaComputerCertificate.Tests.ps1
PowerShell
mit
2,763
development
6,209
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaComputerCertificate", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbCompatibility.Tests.ps1
PowerShell
mit
2,763
development
2,507
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbCompatibility", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaMigrationConstraint.Tests.ps1
PowerShell
mit
2,763
development
3,247
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaMigrationConstraint", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Add-DbaDbMirrorMonitor.Tests.ps1
PowerShell
mit
2,763
development
1,221
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Add-DbaDbMirrorMonitor", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaWsfcNetworkInterface.Tests.ps1
PowerShell
mit
2,763
development
819
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWsfcNetworkInterface", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaPbmCategory.Tests.ps1
PowerShell
mit
2,763
development
1,842
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPbmCategory", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaWsfcNode.Tests.ps1
PowerShell
mit
2,763
development
807
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWsfcNode", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters"...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Add-DbaServerRoleMember.Tests.ps1
PowerShell
mit
2,763
development
4,877
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Add-DbaServerRoleMember", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaLogin.Tests.ps1
PowerShell
mit
2,763
development
20,510
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaLogin", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" { ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Export-DbaReplServerSetting.Tests.ps1
PowerShell
mit
2,763
development
1,249
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaReplServerSetting", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaHelpIndex.Tests.ps1
PowerShell
mit
2,763
development
6,466
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaHelpIndex", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaMaintenanceSolutionLog.Tests.ps1
PowerShell
mit
2,763
development
1,101
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaMaintenanceSolutionLog", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expect...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Add-DbaExtendedProperty.Tests.ps1
PowerShell
mit
2,763
development
2,760
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Add-DbaExtendedProperty", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaAgentJobOutputFile.Tests.ps1
PowerShell
mit
2,763
development
5,353
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgentJobOutputFile", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Update-ServiceStatus.Tests.ps1
PowerShell
mit
2,763
development
4,532
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Update-ServiceStatus", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { InModuleScope dbatools { BeforeAll { $password = ConvertT...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbTable.Tests.ps1
PowerShell
mit
2,763
development
6,794
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbTable", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" {...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaDbClone.Tests.ps1
PowerShell
mit
2,763
development
2,405
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbClone", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaClientAlias.Tests.ps1
PowerShell
mit
2,763
development
4,152
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaClientAlias", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaClientAlias.Tests.ps1
PowerShell
mit
2,763
development
1,470
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaClientAlias", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbOrphanUser.Tests.ps1
PowerShell
mit
2,763
development
7,040
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbOrphanUser", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaAgentProxy.Tests.ps1
PowerShell
mit
2,763
development
8,282
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaAgentProxy", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaAgentProxy.Tests.ps1
PowerShell
mit
2,763
development
4,900
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgentProxy", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaDbSchema.Tests.ps1
PowerShell
mit
2,763
development
6,093
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaDbSchema", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters"...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaWsfcResource.Tests.ps1
PowerShell
mit
2,763
development
811
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWsfcResource", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/PSScriptAnalyzerRules.psd1
PowerShell
mit
2,763
development
2,015
@{ Severity = @('Error', 'Warning', 'Information') IncludeRules = @( 'PSUseCompatibleSyntax', 'PSAvoidUsingCmdletAliases', 'PSAvoidDefaultValueSwitchParameter', 'PSReservedCmdletChar', 'PSReservedParams', 'PSAvoidUsingWMICmdlet', 'PSMisleadingBacktick'...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaXESessionTemplate.Tests.ps1
PowerShell
mit
2,763
development
1,364
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaXESessionTemplate", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaRegServer.Tests.ps1
PowerShell
mit
2,763
development
3,301
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaRegServer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaIdentityUsage.Tests.ps1
PowerShell
mit
2,763
development
3,899
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaIdentityUsage", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaAzAccessToken.Tests.ps1
PowerShell
mit
2,763
development
1,140
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaAzAccessToken", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaDbQueryStore.Tests.ps1
PowerShell
mit
2,763
development
4,751
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaDbQueryStore", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaFeature.Tests.ps1
PowerShell
mit
2,763
development
1,248
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaFeature", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Format-DbaBackupInformation.Tests.ps1
PowerShell
mit
2,763
development
15,832
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Format-DbaBackupInformation", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaWindowsLogin.Tests.ps1
PowerShell
mit
2,763
development
2,461
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaWindowsLogin", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaPfDataCollectorSet.Tests.ps1
PowerShell
mit
2,763
development
3,458
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaPfDataCollectorSet", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expecte...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaDbDataGeneratorConfig.Tests.ps1
PowerShell
mit
2,763
development
3,266
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaDbDataGeneratorConfig", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expecte...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/InModule.Help.Exceptions.ps1
PowerShell
mit
2,763
development
434
$global:FunctionHelpTestExceptions = @( "TabExpansion2" ) $global:HelpTestEnumeratedArrays = @( "Dataplat.Dbatools.Connection.ManagementConnectionType[]" "Dataplat.Dbatools.Message.MessageLevel[]" "Dataplat.Dbatools.Discovery.DbaInstanceScanType[]" ) $global:HelpTestSkipParameterType = @{ "Get-Dba...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaRegServer.Tests.ps1
PowerShell
mit
2,763
development
3,645
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaRegServer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbCertificate.Tests.ps1
PowerShell
mit
2,763
development
3,602
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbCertificate", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaUpTime.Tests.ps1
PowerShell
mit
2,763
development
2,491
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaUptime", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" {...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Add-DbaDbRoleMember.Tests.ps1
PowerShell
mit
2,763
development
8,544
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Add-DbaDbRoleMember", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaProcess.Tests.ps1
PowerShell
mit
2,763
development
2,652
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaProcess", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaWsfcResourceType.Tests.ps1
PowerShell
mit
2,763
development
815
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWsfcResourceType", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaLinkedServer.Tests.ps1
PowerShell
mit
2,763
development
3,703
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaLinkedServer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaMaxDop.Tests.ps1
PowerShell
mit
2,763
development
5,297
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaMaxDop", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" {...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaDbTableData.Tests.ps1
PowerShell
mit
2,763
development
23,342
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbTableData", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaDbFileGroup.Tests.ps1
PowerShell
mit
2,763
development
6,192
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaDbFileGroup", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbRecoveryModel.Tests.ps1
PowerShell
mit
2,763
development
2,709
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbRecoveryModel", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaDacProfile.Tests.ps1
PowerShell
mit
2,763
development
2,473
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaDacProfile", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbDetachedFileInfo.Tests.ps1
PowerShell
mit
2,763
development
2,319
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbDetachedFileInfo", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaHideInstance.Tests.ps1
PowerShell
mit
2,763
development
1,218
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaHideInstance", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaAgentJobOwner.Tests.ps1
PowerShell
mit
2,763
development
1,125
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaAgentJobOwner", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaAgDatabaseReplicaState.Tests.ps1
PowerShell
mit
2,763
development
5,668
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgDatabaseReplicaState", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expect...