Thank you for your feedback, I will definitely take that into consideration for my future videos. I appreciate your suggestions on how to improve the quality of my content.
How can I set my local machine policy to restricted again I am getting this error Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of Unrestricted. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information please see "Get-Help Set-ExecutionPolicy". At line:1 char:1 + Set-ExecutionPolicy -ExecutionPolicy Restricted -Scope LocalMachine + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException + FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
If you are trying to set the policy for LocalMachine and you are getting this error, it means that there is a policy set at a more specific scope that is overriding the LocalMachine policy. You can use the Get-ExecutionPolicy -List command to view your execution policy settings and see which policy is being applied. For more information, please see the Get-Help Set-ExecutionPolicy command.
Thanks. It was solved just by executing Get-ExecutionPolicy Unrestricted command.
You're welcome. Glad it was an easy fix.
You should use the full screen and use a bigger font, if you want to improve the quality.
Thank you for your feedback, I will definitely take that into consideration for my future videos. I appreciate your suggestions on how to improve the quality of my content.
really helpful thanks
How can I set my local machine policy to restricted again
I am getting this error
Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by
a policy defined at a more specific scope. Due to the override, your shell will retain its current effective
execution policy of Unrestricted. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more
information please see "Get-Help Set-ExecutionPolicy".
At line:1 char:1
+ Set-ExecutionPolicy -ExecutionPolicy Restricted -Scope LocalMachine
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
+ FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
If you are trying to set the policy for LocalMachine and you are getting this error, it means that there is a policy set at a more specific scope that is overriding the LocalMachine policy. You can use the Get-ExecutionPolicy -List command to view your execution policy settings and see which policy is being applied. For more information, please see the Get-Help Set-ExecutionPolicy command.