But not if I want to make a change during the day. If I have to change the 
content of a prod package, it's a good 15 minutes to distribute to the DPs, and 
then another 15-30 to get to all the local peers. If I just have to make a task 
sequence change, it's just a policy update that has to replicate to the site 
servers, and usually happens within 5 minutes.

My biggest headache is when a prod package gets modified or deleted and then 
any task sequence referencing that package fails or won't start because the 
content isn't on the DPs. I just try to limit this as much as possible. I do 
understand some of this process is due to using Nomad (local peers) but that 
decision was out of my control.

If it makes you feel any better, I try to do as many 'Run Command Lines' using 
PowerShell as possible. I think my record right now is 8 commands in a single 
Run Command Line step, separated by pipes and semi-colons. :)

Daniel Ratliff

From: [email protected] [mailto:[email protected]] On 
Behalf Of Trevor Sullivan
Sent: Tuesday, April 15, 2014 4:54 PM
To: [email protected]
Subject: RE: [mssms] OSD task sequence - Run Command Line - xcopy pulling 
entire DP share?

Daniel,

Right, but if you're referencing the package in that task sequence step anyway, 
then it makes sense to just wrap it up in a batch file (IMO). It's predictable 
and straightforward (stealing from Niall's article title). :)

Cheers,
Trevor Sullivan
Microsoft PowerShell MVP

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Daniel Ratliff
Sent: Tuesday, April 15, 2014 3:13 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] OSD task sequence - Run Command Line - xcopy pulling 
entire DP share?

I had not seen that, it's exactly what I am looking for. Thanks guys!

Trevor, I don't mind throwing a wrapper around it, but I do prefer to do as 
much in the task sequence as possible, therefor I don't have to worry about 
content.

Daniel Ratliff

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Jason Sandys
Sent: Tuesday, April 15, 2014 3:40 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] OSD task sequence - Run Command Line - xcopy pulling 
entire DP share?

Niall did a blog post about this behavior a while back: 
http://www.niallbrady.com/2010/10/23/how-can-i-copy-files-from-a-package-not-as-straightforward-as-you-think/

J

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Trevor Sullivan
Sent: Tuesday, April 15, 2014 2:22 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] OSD task sequence - Run Command Line - xcopy pulling 
entire DP share?

Daniel,

How about sticking the xcopy command into a batch file, and using: %~dp0\* 
instead?

Cheers,
Trevor Sullivan
Microsoft PowerShell MVP

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Daniel Ratliff
Sent: Tuesday, April 15, 2014 1:57 PM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] OSD task sequence - Run Command Line - xcopy pulling entire DP 
share?

Anyone ever seen this before? Perhaps this is how xcopy is intended to work? 
Assuming I need to change the asterisk to something more granular?

[cid:[email protected]]

We use 1E Nomad and if the content isn't cached locally it pulls from the DP 
share (Copy content to DP share has to be checked on the pkg). Well, after 
recently resolving some issues, my Run Command Line is now copying the entire 
DP share to the Public\Desktop if the content isn't found on a local peer.

Shouldn't the task sequence only pull the content from the package source I 
specified in the Run Command Line step?

Daniel Ratliff


The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.




The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.



The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.


<<inline: image001.jpg>>

Reply via email to