From 308e941e95060997fde9c51431a17c6f1385287d Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Mon, 13 May 2019 11:43:14 -0700 Subject: [PATCH] Add -Force to Get-ChildItem params --- .../private/functions/Set-InstalledModulesVariable.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PowerShellGet/private/functions/Set-InstalledModulesVariable.ps1 b/src/PowerShellGet/private/functions/Set-InstalledModulesVariable.ps1 index 04a77f0d..9c358aac 100644 --- a/src/PowerShellGet/private/functions/Set-InstalledModulesVariable.ps1 +++ b/src/PowerShellGet/private/functions/Set-InstalledModulesVariable.ps1 @@ -11,6 +11,7 @@ function Set-InstalledModulesVariable $GetChildItemParams = @{ Path = $location Recurse = $true + Force = $true Filter = $script:PSGetItemInfoFileName ErrorAction = 'SilentlyContinue' WarningAction = 'SilentlyContinue'