From 609440786b1f4adbbfb6e81c397efa1a7606ec0d Mon Sep 17 00:00:00 2001 From: Sander Stad Date: Fri, 27 Jul 2018 12:26:15 +0200 Subject: [PATCH] Added -Force for installing modules --- tests/appveyor/preparation.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/appveyor/preparation.ps1 b/tests/appveyor/preparation.ps1 index d5ae70b..4698734 100644 --- a/tests/appveyor/preparation.ps1 +++ b/tests/appveyor/preparation.ps1 @@ -15,11 +15,11 @@ choco install pester | Out-Null # Get dbatools Write-Host -Object "appveyor.prep: Install dbatools" -ForegroundColor DarkGreen -Install-Module -Name dbatools | Out-Null +Install-Module -Name dbatools -Force | Out-Null # Get PSFramework Write-Host -Object "appveyor.prep: Install PSFramework" -ForegroundColor DarkGreen -Install-Module -Name PSFramework | Out-Null +Install-Module -Name PSFramework -Force | Out-Null # Get Hyper-V-PowerShell #Write-Host -Object "appveyor.prep: Install Hyper-V-PowerShell" -ForegroundColor DarkGreen