Dealing with PowerShell administrator privileges under windows

Time:2022-11-25

Dealing with PowerShell administrator privileges under windows

execute in powershell
Start-Process powershell -Verb runAs

continue to re-execute
set-ExecutionPolicy RemoteSigned

choose
Y

The following is the success state diagram
Dealing with PowerShell administrator privileges under windows