What is the output from the following PowerShell command? Post a screenshot.
Get-ExecutionPolicy -List
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
in windows powershell, how to enable the input of scripts
What is the output from the following PowerShell command? Post a screenshot.
Get-ExecutionPolicy -List
Click your Start Button, then just type powershell and on the resulting list, right click PowerShell and select 'Run as Administrator'
When PowerShell opens, the prompt should be at C;\Windows\System32.
Test if you can then run your script.
If not, in PowerShell run this command and press Enter:
Set-ExecutionPolicy Unrestricted
Then run your script in PowerShell
After running your script, ensure you run this command.
Set-ExecutionPolicy Restricted