This morning all the development machines at the company I work at, couldn't manage SharePoint through Powershell. We were all getting the annoying "The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered." error.
A quick search has given me two causes for this error.
1: Wrong rights set for the user on the Config DB in SQL
2: Not running the Management Shell as Administrator
Neither of these two are the problem, since nothing has changed.