windows run as administrator code example
Example 1: run cmd as administrator command line
powershell -command "start-process cmd -verb runas"
Example 2: windows run as admin run
'Ctrl + Shift + Enter' instead of 'Enter'
powershell -command "start-process cmd -verb runas"
'Ctrl + Shift + Enter' instead of 'Enter'