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?