Skip to content

Commit 2ccbda0

Browse files
committed
Merge branch 'implement-show-psmdsyntax' of https://github.com/Splaxi/PSModuleDevelopment into implement-show-psmdsyntax
2 parents 5960511 + 4d52f6f commit 2ccbda0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
Write-Host "Installing Pester" -ForegroundColor Cyan
2-
Install-Module Pester -Force -SkipPublisherCheck
3-
Write-Host "Installing PSFramework" -ForegroundColor Cyan
4-
Install-Module PSFramework -Force -SkipPublisherCheck
5-
Write-Host "Installing PSScriptAnalyzer" -ForegroundColor Cyan
6-
Install-Module PSScriptAnalyzer -Force -SkipPublisherCheck
1+
$modules = @("Pester", "PSFramework", "PSScriptAnalyzer")
2+
3+
foreach ($module in $modules) {
4+
Write-Host "Installing $module" -ForegroundColor Cyan
5+
Install-Module $module -Force -SkipPublisherCheck
6+
Import-Module $module -Force -PassThru
7+
}

0 commit comments

Comments
 (0)