ConfigMgr task sequence variable for distribution point

by Admin 22. May 2009 02:29

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!

Currently rated 3.0 by 1 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Bookmark and Share

Tags: , , ,

Category: System Center No. of views: 1785

Add comment


 

  • Comment
  • Preview
Loading