Import-Module AWSPowerShell taking 30 seconds on EC2 instance - how to reduce?

345 views Asked by At

I have a powershell script that runs on an EC2 t2.medium instance, but the script is taking 30 seconds just to import the AWSPowershell module.

I've tried importing only the cmdlets that I need, but it made no difference in load time.

Is it possible to reduce this in any way?

0

There are 0 answers