DependencySearch
1.1.7
Some of the interesting functions:
- Get-CodeDependency - searches for PowerShell code/script/module dependencies through static code analysis (AST). Supports also checks against PowerShell Gallery
- Get-CodeDependencySta
Some of the interesting functions:
- Get-CodeDependency - searches for PowerShell code/script/module dependencies through static code analysis (AST). Supports also checks against PowerShell Gallery
- Get-CodeDependencyStatus - gets (module) dependencies of given script/module and warns you about possible problems
- Get-CorrespondingGraphCommand - translates given AzureAD or MSOnline command to Graph command
- Get-ModuleCommandUsedInCode - searches for commands (defined in specific module) in given script file
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2023 @AndrewZtrhgf. All rights reserved.
Package Details
Author(s)
- @AndrewZtrhgf
Tags
PowerShell Dependency AST DependencySearch
Functions
Get-AddPSSnapinFromAST Get-CodeDependency Get-CodeDependencyStatus Get-CorrespondingGraphCommand Get-ImportModuleFromAST Get-ModuleCommandUsedInCode
PSEditions
Dependencies
Release Notes
1.1.0
EDIT
Get-CodeDependency - huge rewrite & lots of improvements
Get-ImportModuleFromAST - align the code with changes in Get-CodeDependency
Get-CodeDependencyStatus - align the code with changes in Get-CodeDependency
1.1.1
BUGFIX
Get-CorrespondingGraphCommand - MS has changed their site a little bit, edited to match the new one
1.1.2
EDIT
Get-CodeDependency - fixes, change in dependency search logic (controlled by new getDependencyOfRequiredModule parameter), added optimization parameter processJustMSGraphSDK for Get-CodeGraphPermissionRequirement
1.1.3
EDIT
Get-CodeDependency - added parameter processEveryTime for internal use in Get-CodeGraphPermissionRequirement
1.1.4
EDIT
Get-CodeDependency - added support for processing of graph api commands
BUGFIX
Get-CodeDependency - fixed skipping of modules when processJustMSGraphSDK switch is used
1.1.5
EDIT
Get-CodeDependency - optimalization so that availableModules needed only if goDeep is used
1.1.6
EDIT
Get-CodeDependency - supports new dependencies (psedition, psversion)
Get-CodeDependencyStatus - new param dependencyParam
BUGFIX
Get-CorrespondingGraphCommand - changed table headers in MS documentation
1.1.7
BUGFIX
Get-CodeDependency - fixed incorrect null comparison operator
FileList
- DependencySearch.nuspec
- DependencySearch.psd1
- DependencySearch.psm1