Problems with Conda init?

I am using miniconda with VS Coode.
I got a message say “Run conda init” before conda cyclistic.
Now when try to preview the code in Vs Code I get this message. How do I resolve this issues? Also do I need to run “conda init” in all the envs?

. : File C:\Users\david\OneDrive\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at
At line:1 char:3

  • . ‘C:\Users\david\OneDrive\Documents\WindowsPowerShell\profile.ps1’
  • + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess


The problem is that you do not have permissions on your machine to run Powershell scripts.
You need to change that setting to be able to use conda.

See this discussion for more information: