This post is more a reminder for myself, each time I run into this when installing NAV on customers machines I have to search for the command.
I love modern development, PowerShell, TFS, etc. But it does not make life easier to understand all these technologies.
When running PowerShell on a new machine you might encounter this error:
It is telling you that PowerShell scripts are disabled.
Enabling is easy by running the Windows PowerShell IDE as administrator and executing this:
Works for me. After this I can work with the Development Commandlets.