Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Source = "E:WorkingDirpackages*" --->(This is my local path)
- $Dest = "\remoteserverE$dataaa" --->(This is my remote path)
- $Username = "COMPUTERdomainname"
- $Password = ConvertTo-SecureString "@@password" -AsPlainText -Force
- $mycreds = New-Object System.Management.Automation.PSCredential($Username, $Password)
Add Comment
Please, Sign In to add comment