The last time this happened to me, this was due to an incorrect PSModulePath environment variable. Make sure that the environment variable for the system is set to:

%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\Modules\\

And also make sure you reboot. Sometimes that path gets set for some reason and things start to function incorrectly