Order PowerShell Universal Load

Product: PowerShell Universal
Version: 3.4.6

I saw in some video somewhere, where the order of load was explained. Is there documentation of the order of load somewhere? if not can we add it to the doc in a section all by itself?

@adam the reason i am asking for this doc, is because i want to put import-module in the initial load of the integrated environment.

I don’t think we have a doc like this but I can put it on my list.

If you want to load a module into the integrated environment, you will need to either add it to the -Modules list for the environment or with a -StartupScript that will be run when we create runspaces. Both of these can be configured in environments.ps1.

1 Like

ooo, i found the video talking about the initialize.ps1 script: