You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm not mistaken, Get-Module does not list modules installed using Install-Module, which is the case of Import-Excel. That is way we choose to use Get-InstalledModule
Get-module gets all imported and any that are currently in the PSModule paths. If it was imported or sits within those paths it will show. Get-InstalledModule will show PowerShell commands that were installed with PowerShellGet. If you are not in an environment internet connected utilizing PowerShellGet becomes a more difficult task. I was able to just switch the commands in the prompt to get it to work on my end but figured depending on situations Get-Module will always work and Get-InstalledModule only works when that PSModule was brought in through that method.
Line 235 and 241 of ARI/AzureResourceInventory.ps1 have "Get-InstalledModule" instead of "Get-Module"
The text was updated successfully, but these errors were encountered: