What about "Move-SFTPItem"? I am copying files from REMOTE to LOCAL, then the second command is to move the files on a remote directory to an ARCHIVE directory that exists in the same location of the REMOTE directory.
at 07:00 minute, it looks you are hiding something, because the same line I'm also using but it is not accepting. $credential = New-Object PSCredential("user1", (New-Object SecureString)) Where is the password in this above line.
The private key that I'm using doesn't have a password so that's why it's an empty. If you're using password based authentication or your private key has a password try using Read-Host -AsSecureString.