Skip to content

Commit 6094407

Browse files
committed
Added -Force for installing modules
1 parent cdfae36 commit 6094407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/appveyor/preparation.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ choco install pester | Out-Null
1515

1616
# Get dbatools
1717
Write-Host -Object "appveyor.prep: Install dbatools" -ForegroundColor DarkGreen
18-
Install-Module -Name dbatools | Out-Null
18+
Install-Module -Name dbatools -Force | Out-Null
1919

2020
# Get PSFramework
2121
Write-Host -Object "appveyor.prep: Install PSFramework" -ForegroundColor DarkGreen
22-
Install-Module -Name PSFramework | Out-Null
22+
Install-Module -Name PSFramework -Force | Out-Null
2323

2424
# Get Hyper-V-PowerShell
2525
#Write-Host -Object "appveyor.prep: Install Hyper-V-PowerShell" -ForegroundColor DarkGreen

0 commit comments

Comments
 (0)