Scripting SCCM (Full Version)

All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager



Message


rbennett806 -> Scripting SCCM (4/21/2008 12:47:34 PM)

Is anyone out there scripting any part of the SCCM console tasks using VBScript? For example, building collections, building packages, creating advertisements, importing computer information, etc...? If so, do any of you have any pointers to real-world sample code or other resources?

I've coded things against SMS 2003 in the past, but haven't jumped into coding against SCCM just yet, so I thought I'd put up a post here to see what real-world information might turn up before I go get my feet wet.

Any info is appreciated. Thanks!




rjarrett -> RE: Scripting SCCM (4/21/2008 1:53:35 PM)

I have found that my scripts for collections, packages, programs, advertisements, etc. worked with my old scripts.  Many of the client features no longer work, as the client has changed.   




kcolby -> RE: Scripting SCCM (4/21/2008 2:18:31 PM)

Here's an example of creating queries via Powershell
http://myitforum.com/cs2/blogs/kcolby/archive/2008/04/02/automating-configmgr-query-creation-with-powershell.aspx

I need to create a whole bunch of collections, so I'll be automating that pretty soon and plan to blog that script as well.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.578125