If either one gets the equivalent of rsync/unison, I'll make that the default.

I'm keeping my robocopy jobs for large sets of data between our US
office and our overseas offices, but I'm converting most everything
else to PS.

Some day I might even rise to the level of apprentice programmer...

Kurt

On Mon, Aug 3, 2015 at 8:54 PM, Michael B. Smith <[email protected]> wrote:
> Robocopy is far more efficient than PS.
>
> But PS is a more generic solution.
>
> Neither are going anywhere. Choose the best solution for your environment.
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> On Behalf Of Kurt Buff
> Sent: Monday, August 3, 2015 9:54 PM
> To: ntsysadm
> Subject: Re: [NTSysADM] RE: Script (VB) or powershell
>
> Given the current trajectory of Windows administration, I'd have to plunk for 
> the PowerShell.
>
> Yes, for those of us (and I include me), who are used to doing things the 
> other way, it's easier with robocopy, etc.
>
> But I think it's time to catch up.
>
> Kurt
>
> On Mon, Aug 3, 2015 at 5:59 PM, Micheal Espinola Jr 
> <[email protected]> wrote:
>> Nope.  Now tell me which was more efficient, and which is easier to
>> maintain/modify by a wider net of personnel.
>>
>> --
>> Espi
>>
>>
>> On Mon, Aug 3, 2015 at 1:19 PM, Kurt Buff <[email protected]> wrote:
>>>
>>> gci c:\mystuff -file -recurse -filter *.sql | move-item n:\sql gci
>>> c:\mystuff -file -recurse -filter *.bat | move-item n:\sql
>>>
>>> That wasn't so hard, was it?
>>>
>>> Kurt
>>>
>>> On Mon, Aug 3, 2015 at 12:57 PM, Micheal Espinola Jr
>>> <[email protected]> wrote:
>>>>
>>>> There are a lot of things that vb and ps overcomplicate.
>>>>
>>>> --
>>>> Espi
>>>>
>>>>
>>>> On Mon, Aug 3, 2015 at 12:15 PM, David McSpadden <[email protected]> wrote:
>>>>>
>>>>> Seriously that simple?
>>>>>
>>>>> I am annoyed.
>>>>>
>>>>> And thank you.
>>>>>
>>>>>
>>>>>
>>>>> From: [email protected]
>>>>> [mailto:[email protected]] On Behalf Of Joe Spinks
>>>>> Sent: Monday, August 03, 2015 3:13 PM
>>>>>
>>>>>
>>>>> To: '[email protected]'
>>>>> Subject: [NTSysADM] RE: Script (VB) or powershell
>>>>>
>>>>>
>>>>>
>>>>> robocopy c:\*.sql n:\sql /s /e /w:0 /r:0 /log:sqlcopy.txt /nfl /ndl
>>>>>
>>>>> robocopy c:\*.bat n:\sql /s /e /w:0 /r:0 /log:batcopy.txt /nfl /ndl
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> From: [email protected]
>>>>> [mailto:[email protected]] On Behalf Of David
>>>>> McSpadden
>>>>> Sent: Monday, August 03, 2015 2:08 PM
>>>>> To: '[email protected]'
>>>>> Subject: [NTSysADM] RE: Script (VB) or powershell
>>>>>
>>>>>
>>>>>
>>>>> ?
>>>>>
>>>>>
>>>>>
>>>>> From: [email protected]
>>>>> [mailto:[email protected]] On Behalf Of Damien Solodow
>>>>> Sent: Monday, August 03, 2015 3:05 PM
>>>>> To: [email protected]
>>>>> Subject: [NTSysADM] RE: Script (VB) or powershell
>>>>>
>>>>>
>>>>>
>>>>> Could just do that with robocopy.
>>>>>
>>>>>
>>>>>
>>>>> DAMIEN SOLODOW
>>>>>
>>>>> Senior Systems Engineer
>>>>>
>>>>> 317.447.6033 (office)
>>>>>
>>>>> 317.447.6014 (fax)
>>>>>
>>>>> HARRISON COLLEGE
>>>>>
>>>>>
>>>>>
>>>>> From: [email protected]
>>>>> [mailto:[email protected]] On Behalf Of David
>>>>> McSpadden
>>>>> Sent: Monday, August 3, 2015 3:01 PM
>>>>> To: ntsysadm <[email protected]>
>>>>> Subject: [NTSysADM] Script (VB) or powershell
>>>>>
>>>>>
>>>>>
>>>>> Anyone have a good script to go through all directories on a volume
>>>>> and move to a network or flash drive?
>>>>>
>>>>> Specifically I want a script that can grab all .sql or .bat’s from
>>>>> my machine and move them to a network folder called N:\SQL\  ???
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> David McSpadden
>>>>>
>>>>> Systems Administrator
>>>>>
>>>>> Indiana Members Credit Union
>>>>>
>>>>> P: 317.554.8190 | F: 317.554.8106
>
>


Reply via email to