PowerTip: Disable Module Autoload in PowerShell


Summary: Learn how to disable module autoloading in Windows PowerShell.

Hey, Scripting Guy! Question How can disable module autoloading in Windows PowerShell?

Hey, Scripting Guy! Answer Set the value of $PSModuleAutoLoadingPreference to “none”:

$PSModuleAutoLoadingPreference = "none"

Comments (1)

Skip to main content