Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have three boxes operating in a Windows Server workgroup within a closed network. (No Domain / No AD)

There are several derivations of the scenario that I'm about to outline, but I'm sure I will be able to retool the solution as and when I need.

Essentially the boxes are:

2 x Windows Server 2008 R2 x64 Standard 1 x Windows Server 2000 Standard

I need to be able to schedule the copying/and-or/moving of files from various directories and each of the boxes. Each box has a different username and password for the administrator.

I have PowerShell 2.0 on the two Win2K8 boxes (obviously).

Previously I have used mapped network drives to copy the files, and cmd line batches, but I'd much rather use Powershell if possible (with Shares and/or $ notation). However the Copy-Item cmdlet doesn't seem to be processing the Credential correctly.

Perhaps some Powershell gurus out there might be able to help me.

Essentially I'd like to schedule a PS run of script to push backup files onto my WIn2k box (old fileserver) periodically.

share|improve this question
    
It would be helpful if you showed your code (I like that rhyme) and was more specific about "processing the Credential correctly" regarding error messages, etc.? –  Dennis Williamson Oct 16 '09 at 13:52
    
Are there identical user accounts (with the same passwords) on each server? –  gravyface Jun 7 '10 at 20:04
add comment

1 Answer

When operating in Workgroup mode there are a number of Windows Server 2008 default UAC behaviours that may cause you issues - in particular the explicit Administrator account is treated differently (it auto-elevates by default) to members of the Administrator groups on the machines. I'm not aware of any Powershell specific examples of this but these differences certainly affect WMI connections and attempts to map to Administrative shares.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.