Powershell will not start

I was getting an error recently when starting Powershell. In short, Powershell would simply not load. The error I received was:

The type initializer for "System.Management.Automation.Tracing.PSEtwLog" threw an exception.

I resolved this by installing .Net 4.5 on the machine.