I have a batch file called test.bat, i am calling the below instructions in test.bat file
"start /min powershell.exe %sysdrive%\testScripts\testscript1.ps1"
When i run this through the command prompt my testscript is running successfully. i want to run it as administrator(like i have created a desktop item and run as administrator, it shouldn't prompt for any username or password)
I have tried adding "/elevate" and "/NOUAC" parameters in the above test.bat but no luck. can someone help me how to fix this issue?
I know how to do it manually but i want this to be executed from the command prompt
thanks in advance.
Download here LSE Admission form for Undergraduate, Masters and Ph.D programs. After download form submit to university via post or online. University offer entry test after submission of admission form with due date. So be quick and submit your entry test form for BS, MBA, BBA and Master program.
Powered by IDERA