Microsoft Virtualization Discussions

Re: Import-Module DataONTAP very slow

My system loads the module in ~250ms, do I win a prize? : )

 

PS C:\Users\Andrew> Measure-Command {Import-Module dataontap}


Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 251
Ticks             : 2510433
TotalDays         : 2.90559375E-06
TotalHours        : 6.973425E-05
TotalMinutes      : 0.004184055
TotalSeconds      : 0.2510433
TotalMilliseconds : 251.0433

Anyway, what other modules do you have on your system?  I'm wondering if perhaps there are other modules being loaded simultaneously which affect the load time?

 

Perhaps do a "Get-Module" before and after "Import-Module DataONTAP" to see if there are others in the mix?

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: Import-Module DataONTAP very slow

Still figuring out why this happens

 

but have noticed that, if you do this first, it loads fast

(run as admin)

 

set-executionpolicy bypass

Forums