Advertisement
Guest User

Untitled

a guest
Aug 26th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. mkdir D:someFolderPathbatchActivatedTestDir
  2. ROBOCOPY "\Computer1DDrivers" "\Computer2DUserDesktopDestinationTest" /E
  3.  
  4. wmic /user:User /password:"Password" /node:Computer2 process call create
  5. "d:scriptLocationPathtestScript.bat"
  6.  
  7. Executing (Win32_Process)->Create()
  8. Method execution successful.
  9. Out Parameters:
  10. instance of __PARAMETERS
  11. {
  12. ProcessId = 2028;
  13. ReturnValue = 0;
  14. };
  15.  
  16. wmic /user:User /password:"12345678" /node:Shimon process call create
  17. "ROBOCOPY.exe \DavidPCDdrivers d:UserDesktopdestination1test /E"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement