[Solved] Prevent auto import of PowerShell modules in Azure Automation Runbook
This behavior, in Powershell, is controlled by one of the preference variables. More specifically, the $PSModuleAutoloadingPreference variable. This variable control the automatic importing of module in the session. By default, it is set to All, which automatically import modules on first-use. Set this to None to disable the automatic importing of modules. You will need … Read more