Forum Discussion
marika-9-5
Nov 03, 2024Copper Contributor
How do I permanently store module?
Hi everyone, I'm new to powershell, I would like to know how to automatically load the modules I load with import-module in each instance; if I load the modules with import-module, when I close the i...
- Nov 03, 2024
You don't need to load all modules to use cmdlets from it; when you first call a cmdlet, it will (in most cases) import the module for you at that moment. If not, you can run notepad $profile to open your Powershell profile and add a line import-module xyz to import it automatically in your future sessions.
Nov 03, 2024
Install modules for AllUsers instead of CurrentUser (Install-Module xyz -Scope AllUsers)
marika-9-5
Nov 03, 2024Copper Contributor
Thanks