January 7th, 2014

PowerTip: Disable Module Autoload in PowerShell

Doctor Scripto
Scripter

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"

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.