F5F Stay Refreshed Software Operating Systems PowerShell中无法选择事项。

PowerShell中无法选择事项。

PowerShell中无法选择事项。

C
136
05-04-2016, 01:45 AM
#1
It doesn't seem like you picked A. It will simply respond with nothing.
C
cluelessboy456
05-04-2016, 01:45 AM #1

It doesn't seem like you picked A. It will simply respond with nothing.

J
jjsoini
Posting Freak
809
05-14-2016, 05:37 PM
#2
J
jjsoini
05-14-2016, 05:37 PM #2

T
Tango599
Member
165
05-16-2016, 07:25 AM
#3
The command retrieves the current execution policy details. The registry entry exists at HKLM\SOFTWARE\Microsoft\Powershell\1(version or whatever)\SheLLids\Microsoft.Powershell. If it doesn't, a new REG_SZ named ExecutionPolicy is created with your desired value. This key controls permission settings for PowerShell.
T
Tango599
05-16-2016, 07:25 AM #3

The command retrieves the current execution policy details. The registry entry exists at HKLM\SOFTWARE\Microsoft\Powershell\1(version or whatever)\SheLLids\Microsoft.Powershell. If it doesn't, a new REG_SZ named ExecutionPolicy is created with your desired value. This key controls permission settings for PowerShell.

X
226
05-16-2016, 07:52 AM
#4
This should handle changing the group policy for executables.
X
X_Impossible_X
05-16-2016, 07:52 AM #4

This should handle changing the group policy for executables.

F
French
Junior Member
21
05-16-2016, 08:12 AM
#5
Run the command to check the current execution policy. It might be set to Unrestricted, which could explain why your command isn't changing anything.
F
French
05-16-2016, 08:12 AM #5

Run the command to check the current execution policy. It might be set to Unrestricted, which could explain why your command isn't changing anything.

T
71
05-16-2016, 10:28 AM
#6
Apologies for that! If you're wondering how to choose it, I'd expect it's marked as 'Restricted.'
T
TheMagicalHerb
05-16-2016, 10:28 AM #6

Apologies for that! If you're wondering how to choose it, I'd expect it's marked as 'Restricted.'

K
Kaisetsu
Senior Member
651
05-16-2016, 05:09 PM
#7
I didn't encounter any issues either. The test was successful in the VM, and execution policy is now unrestricted.
K
Kaisetsu
05-16-2016, 05:09 PM #7

I didn't encounter any issues either. The test was successful in the VM, and execution policy is now unrestricted.