Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Mahesh has been obsessed with technology since he got his first gadget a decade or so ago. What if there was a way you could directly open the files you want to edit in Notepad with the admin rights? Write-Host "File is successfully run from command line". I'm curious as that's not a setting I use often. Click the button below to subscribe! value="eu">Basque