myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Tool to refresh DPs

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> Tool to refresh DPs Page: [1]
Login
Message << Older Topic   Newer Topic >>
Tool to refresh DPs - 6/10/2008 1:55:56 PM   
EdwardKK


Posts: 119
Score: 0
Joined: 5/14/2007
Status: offline
Hi all,

I'm looking for an app/tool that will allow me to refresh DPs.  I've seen the CloneDP app, but it doesn't quite do what i want.  I've got packages assigned to some DPs, but they aren't physically copied down, which is weird.  If I do a manual refresh, they come up fine.  What i would like is something i can go into and say, "Refresh this DP" or "Refresh these DPs" with all the packages assigned to it.  I can always do it manually, but I'm lazy that way. :)

thanks for any ideas!


Post #: 1
RE: Tool to refresh DPs - 6/10/2008 7:10:55 PM   
bmason505

 

Posts: 1981
Score: 104
Joined: 1/23/2003
From: Minneapolis, MN
Status: offline
You can set a schedule on the package to refresh the DP's, but it's an all or nothing thing.  Think you're looking for more of a right click console tool to do this, huh?

_____________________________

Brian Mason
MCSA\MCSE\MS MVP - SCCM
Wells Fargo
http://www.miscusergroup.org/

(in reply to EdwardKK)
Post #: 2
RE: Tool to refresh DPs - 6/11/2008 3:29:43 AM   
rzander

 

Posts: 44
Score: 11
Joined: 4/2/2002
From: Switzerland
Status: offline
You can do this with CloneDP... You just have to reassign the existing packages to the DP and clonedp will refresh these packages...

(in reply to EdwardKK)
Post #: 3
RE: Tool to refresh DPs - 6/13/2008 2:04:57 PM   
EdwardKK


Posts: 119
Score: 0
Joined: 5/14/2007
Status: offline
Brian, I hadn't thought of that.  I had thought that if I set the schedule to update the dps on a regular basis that will update the package number, which would then tell clients that they haven't run the current version of the program.  But you're right, I could just refresh them all once a week or so. But I'm not sure it's worth it to do so.  I really am looking for more of a one off solution.  For example, if I have hardware replaced, and just want to refresh all the packages to make sure its all happy.  But it's probably not a bad idea to set these sites to refresh anyway once a week just to be certain they are up to date.

I tried that in CloneDP, and it sort of works.  it would just be nice if you could just pick a site system and say "refresh all assigned packages"   Brian's right, I'm looking for more of a right click type of command.   Does SCCM have this?  Anyone know?

Part of the fun is that I have some packages which orginate from the local SMS server, and some originate from the parent site.  So CloneDP can work in some instances, but it creates an interesting mesh of locked packages on site systems depending on where I run it from.  If i run it from the parent, then I can't manage it's changes from the child in the future, and vice versa.  I could get around this by not assigning packages to sites from the parent, but I have to manage other child sites from that parent, so there is no perfect answer for me. 

Oh the inhumanity..... woe is me.  


(in reply to rzander)
Post #: 4
RE: Tool to refresh DPs - 6/20/2008 3:48:10 PM   
aparrott

 

Posts: 31
Score: 3
Joined: 12/1/2005
Status: offline
Air Code -- Untested - Use at your own risk.

Copy to a VBS file and give it a try.  Remove the 2nd echo if you want to refresh all the packages.  As it is at least you'll be able to test it one at a time. 

------------------------------

siteName = "[YOURSITECODE]"
serverName = "[YOURSERVERNAME]"

' --- Create Objects
Set loc = CreateObject("WbemScripting.SWbemLocator")
Set WbemServices = loc.ConnectServer(servername , "root\SMS\site_" & siteName)
   
  Set packages = WbemServices.ExecQuery("Select * From SMS_Package)
  Wscript.Echo "Number of Packages --> " & packages.Count
   For Each package In packages 
      packageID = package.PackageID
      Package.RefreshPkgSource( )
      Wscript.Echo "Refreshed -> " & package.Name & "with PkgID -> " & packageID
      packageID = empty
   Next
      

(in reply to EdwardKK)
Post #: 5
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> Tool to refresh DPs Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.328