Skip to content

Commit

Permalink
Fix: install module
Browse files Browse the repository at this point in the history
  • Loading branch information
ivicaagatunovic authored Jul 26, 2024
1 parent 3b5f066 commit b46066b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installed-apps-report.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function Import-PSModule ($m) {
}
else {
# If module is not imported, not available on disk, but is in online gallery then install and import
Get-Module $m
Install-Module $m
write-host "INFO: Installing PS module $m ... "
Import-Module $m -Force
write-host "INFO: Importing PS module $m ... "
Expand Down

0 comments on commit b46066b

Please sign in to comment.