To return to the theme of this post, I want to find the. Therefore, I can bind the local administrator permissions to this custom bl.bat file so that I don't have to perform manual operations every time The purpose of this code is to obtain Administrator permission to run the bl.bat file under the path of the C drive on the computer Īt present, I have to manually assign Administrator permission to the bl.bat file every time to run, which is very inconvenient. Start-Process -FilePath "c:\bl.bat" -Credential $cred $pwd = ConvertTo-SecureString "PassWord" -AsPlainText –Force Thank you very much for your continued help Hello, today is my most happy thing is to see your reply message
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |