We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e741894 commit 1b1f404Copy full SHA for 1b1f404
tests/manual.pester.ps1
@@ -2,21 +2,23 @@
2
(
3
[string[]]$Path = '.',
4
[string[]]$Tag
5
-
+
6
)
7
8
$ModuleBase = Split-Path -Path $PSScriptRoot -Parent
9
#removes previously imported dbatools, if any
10
Remove-Module dbops -ErrorAction Ignore
11
#imports the module making sure DLL is loaded ok
12
Import-Module "$ModuleBase\dbops.psd1" -DisableNameChecking
13
+#import internal commands
14
+Get-DBOModuleFileList -Type internal | ForEach-Object { . $_.FullName }
15
#Import ZipHelper
16
Import-Module ziphelper -Force
17
18
#Run each module function
19
$params = @{
20
Script = @{
- Path = $Path
21
+ Path = $Path
22
Parameters = @{
23
Batch = $true
24
}
0 commit comments