in

myITforum.com

This Blog

Syndication

1E Blog

Empowering Efficient IT

ConfigMgr task sequence variable for distribution point

You can use variables that reference the DP path for each package, there is no variable that references the “DP” as there could be many DPs.

Dependnign on advert settings you can get both SMB and HTTPs locations for the DP in two difference variables. However, you can always get the UNC path by using the following environment variable, given that the package is being referenced in the TS.

%_SMSTSUK10009F% would resolve a full UNC path for package UK10009F, ending with a backslash, so running a batch file from a TS you can specify the following command line when you have referenced the package:

cmd.exe /c %_SMSTSUK10009F%SampleBatchFile.cmd

Hope this helps!
 

Andreas Hammarskjöld | System Deployment Practice Lead | 1E Ltd |
andreash@1e.com | www.1e.com

Read the complete post at http://www.1e.com/1EBlogs/post/2009/05/22/ConfigMgr-task-sequence-variable-for-distribution-point.aspx

Published May 22 2009, 05:29 AM by 1E Blogs
Filed under:
Copyright - www.myITforum.com, Inc. - 2010 All Rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems