public static PSModuleAutoLoadingPreference GetAutoLoadingPreference(this IHostContext hostContext) { return(hostContext.GetVariable <PSModuleAutoLoadingPreference>(AutoLoadingPreference)); }