Guest User

Untitled

a guest
Oct 22nd, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. $Source = "E:WorkingDirpackages*" --->(This is my local path)
  2. $Dest = "\remoteserverE$dataaa" --->(This is my remote path)
  3. $Username = "COMPUTERdomainname"
  4. $Password = ConvertTo-SecureString "@@password" -AsPlainText -Force
  5. $mycreds = New-Object System.Management.Automation.PSCredential($Username, $Password)
Add Comment
Please, Sign In to add comment