I am running the following command:
%SystemRoot%system32WindowsPowerShellv1.0powershell.exe -NoExit -ImportSystemModules
and receive the following message:
WARNING: File C:Windowssystem32WindowsPowerShellv1.0ModulesPSDiagnosticsPSDiagnostics.psm1 cannot be loaded
because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details.
I have done a search for “get-help about_signing” and enable scripts with no related results.
What scripts must be enabled? I did run the command as administrator as well and the error message is the same.
By the way, my userid is an administrator yet I must still select run as administrator for some functions to work correctly. What is with that?