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:


  


command or script for initiating certain actions?

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

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> command or script for initiating certain actions? Page: [1]
Login
Message << Older Topic   Newer Topic >>
command or script for initiating certain actions? - 6/19/2008 1:57:26 PM   
jonf

 

Posts: 34
Score: 0
Joined: 3/26/2007
Status: offline
I am looking for a command or script to initiate the 'Software Updates Scan Cycle' action.  We have a detection mechanism on our network that can shoot a command or script to a client.  We are looking to have it force a scan for missing patches on the SCCM server. 

What is the command to initaite this action?

TIA
Post #: 1
RE: command or script for initiating certain actions? - 6/19/2008 2:37:08 PM   
skissinger


Posts: 1977
Score: 129
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
I forgot (apologies in advance) where I got this original script from.  I've updated it a few times, and I think added some code here and there, but this should give you can idea.  Rename the attached to .vbs.  It presumes you have local admin rights & can get to the c$ on the target computer.  Note that some actions cannot be done, like User Policy refresh--because the user context is all wrong.  But if you need that action, I've got that as well on my blog. (as a button for Ron's web console)

Attachment (1)

_____________________________

mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com
Microsoft MVP - ConfigMgr

(in reply to jonf)
Post #: 2
RE: command or script for initiating certain actions? - 6/19/2008 4:40:25 PM   
jonf

 

Posts: 34
Score: 0
Joined: 3/26/2007
Status: offline
Edit: I modified the script to run locally without any message boxes.  I have it specifically targeting Software Updates scan cycle.  if anybody wants the file, let me know and I'll post it.

Thanks to skissinger for the hookup!

< Message edited by jonf -- 6/19/2008 5:06:20 PM >

(in reply to skissinger)
Post #: 3
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> command or script for initiating certain actions? 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.485