As we use more and more virtual machines, particularly for development, there is a risk because they don't get updated by pushing critical security or virus updates and then they are fired up six months later we can have a security problem.
Microsoft has a solution for their virtual machine environment adding to the virtual machine management tooling - the Offline Virtual Machine Servicing Tool. This turns on your VMs, updates them and shuts them down automatically. You can find information about getting on the Beta at the link below.
Get it here