This is what I have but keep getting following error. I am using Windows 7 Home Premium 64bit. I need to copy everything from my laptop hard-drive to desktop K:\Mybackup folder.
$source = "M:\"
$dest = "K:\MyBackup"
Copy-item $source $dest -recurse
PS C:> copy-item $source $dest Copy-Item : The given path's format is not supported. At line:1 char:10 + copy-item <<<< $source $dest + CategoryInfo : InvalidOperation: (K:\gateway\M:\:String) [Copy-Item], NotSupportedException + FullyQualifiedErrorId : ItemExistsNotSupportedError,Microsoft.PowerShell.Commands.CopyItemCommand
PS C:> copy-item
cmdlet Copy-Item at command pipeline position 1 Supply values for the following parameters: Path[0]: