Let's say error the specified server cannot perform the requested operation appears when using the Move-Item or Copy-Item commands in PowerShell. This error may occur when using a PowerShell Remoting command, such as Invoke-Command.
Move-Item "Microsoft.PowerShell.Core\FileSystem::C:\Users\username\Documents\Example.txt" -Destination "Microsoft.PowerShell.Core\FileSystem::\\Example\share\"
If \\Example\share is shared as a SMB / CIFS share, enter the following commands in PowerShell as an administrator on the local PC.
Set-SmbClientConfiguration -RequireSecuritySignature 1 Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" RequireSecureNegotiate -Value 0 -Force
Ensure SMB / CIFS file sharing is enabled on the local PC:
- Select the Windows Start icon > Control Panel.
- Select Programs and Features.
- Select Turn Windows features on or off.
- Ensure SMB 1.0/CIFS File Sharing Support is checked.