PowerTip: Disable Module Autoload in PowerShell

PowerTip: Disable Module Autoload in PowerShell

  • Comments 1
  • Likes

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"

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Good Tip!!!