Skip to content
No description, website, or topics provided.
PowerShell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ProductivityTools.PSFindModuleDependencies
.gitignore
PowershellGallery.url
ProductivityTools.PSFindModuleDependencies.sln
ProductivityTools.url
README.md

README.md

ProductivityTools.PSFindModuleDependencies

It looks recursively in directory to find all psd1 files, next it take RequiredModules key and writes it. If DependencyName parameter is provided. It will wrote only those modules which requires given dependency to work.

Find-ModuleDependencies without any parameters will go through all directories in given path and will search for psd1 files, next it will write on the screen value of the RequiredModules key.

Find-ModuleDependencies

You can also pass Path parameter if you want to perform analysis for different directory.

Find-ModuleDependencies -Path C:\Github

If you want to look for particular dependency just use parameter DependencyName then it will show just those modules which needs provided dependency

Find-ModuleDependencies -Dependency ""ProductivityTools.PSMasterConfiguration"

I am using this when, I am changing module and I need to know which modules should be updated.

You can’t perform that action at this time.