write powershell script which copies an exe file from network share and starts it in…
Jump to turn (7)
- 1write powershell script which copies an exe file from network share and starts i
- 2Like this but write full commands
- 3in the same style write how to create folder but only if the folder does not exi
- 4what means - Force in pre previous answer
- 5how to check if you are the member of certain group?
- 6how to check current user
- 7what would be code to check if current user is in a group and execute code below
- User
write powershell script which copies an exe file from network share and starts it in hidden mode not showing any windows. Dont use any syntax representing code just plain text
- Assistant
Use the the following steps to copy the exe file from the network share and start it in hidden mode without showing any windows:
- Map the network share to a drive letter using
New-PSDrivecommand. - Use
Copy-Itemcommand to copy the exe file from the network share to the local machine. - Use
Start-Processcommand with the-NoNewWindowparameter to start the exe file in hidden mode.
- Map the network share to a drive letter using
- User
Like this but write full commands