Repository with PowerShell modules I've developed over time.
You can manage modules in the repository with module_manage.ps1 script.
It allows to install the module, delete module, or scaffold new module manifest in the repository.
Script automatically detects the CurrentUser
/AllUsers
scope, depending if it runs elevated.
# install module
./module_manage.ps1 -Module 'do-test'
# clean up previous versions during installation
./module_manage.ps1 -Module 'do-test' -CleanUp
# remove requirements from the manifest file to speed up module loading
./module_manage.ps1 -Module 'do-test' -RemoveRequirements
# delete module
./module_manage.ps1 -Module 'do-test' -Delete
# scaffold module manifest
./module_manage.ps1 -Module 'do-test' -Create
-
Module with git functions and aliases.
./module_manage.ps1 'aliases-git' -CleanUp
-
Module with kubectl functions and aliases.
./module_manage.ps1 'aliases-kubectl' -CleanUp
-
Module intended to streamline work with Microsoft Azure Cloud.
Required modules to be installed beforehand:do-common
,Az.Accounts
,Az.ResourceGraph
./module_manage.ps1 'do-az' -CleanUp -RemoveRequirements
-
Common module, not depending on other modules, working on all systems.
On Linux, it is recommended to install the module in theAllUsers
scope, by running the script as root../module_manage.ps1 'do-common' -CleanUp
-
Module intended to streamline work on Linux.
./module_manage.ps1 -Module 'do-linux' -CleanUp
-
Module intended to streamline work on Windows.
./module_manage.ps1 -Module 'do-win' -CleanUp