Have a batch script that requires administrator elevation? Put this line at the top of your script.
@FLTMC >NUL 2>&1 || (POWERSHELL -WINDOWSTYLE HIDDEN START-PROCESS """%~f0""" -VERB RUNAS & EXIT /B)
Have a batch script that requires administrator elevation? Put this line at the top of your script.
@FLTMC >NUL 2>&1 || (POWERSHELL -WINDOWSTYLE HIDDEN START-PROCESS """%~f0""" -VERB RUNAS & EXIT /B)