SCCM by Davis: “Gert Jensen became a registered member” plus 19 more |
- Gert Jensen became a registered member
- Clear out the Unprovisioned Collection in 2007
- Clear out OSD collections in 2007
- Flexera Software wrote a new post, What does optimization of your SAP landscape actually mean?
- Huawei Exec: Networking Giant No Longer Interested in US Market
- Google Fiber Wants to Get More Kansas City Businesses Online
- Tim Dedrick became a registered member
- Jill A became a registered member
- Polywog became a registered member
- Enhansoft and Stephen are now friends
- Anoop C Nair and Stephen are now friends
- Mohammed became a registered member
- Jase T. Wolfe wrote a new post, Fully Automate Your Quarterly Build & Capture Process
- Rod Trent wrote a new post, Assessing Network Traffic Potential for a ConfigMgr 2012 Implementation
- Bill became a registered member
- Rod Trent posted an update in the group The Word at myITforum: Isaiah 26:9 With my soul have I desired thee in the night; […]
- Andrew posted an update in the group System Center Configuration Manager 2012: After returning back to sccm 2007 I'm considering studying […]
- Andrew joined the group System Center Jobs
- Andrew joined the group System Center Configuration Manager 2007
- Andrew joined the group System Center Configuration Manager 2012
Gert Jensen became a registered member Posted: 25 Apr 2013 01:38 AM PDT Comments: 0 |
Clear out the Unprovisioned Collection in 2007 Posted: 24 Apr 2013 05:17 PM PDT Do you have issues with unprovisioned machines that stick around. Here is some code to help you get rid of the unprovisioned machines. This can be run at differnet intervals during the day or week depending on when you see it. This is old that is in Vbscript. Hopefully I can get going in powershell and get with the program. :) ============================ Dim Args Dim swbemLocator, SWbemServices, objCollection, oProviderLocation, oLocation Dim strComputerName, arrComputers, objComputer, sCollectionIDs Dim objDirectRule Dim strmessage, objshell 'CollectionIDs from which to remove the computer sCollectionIDs = "ABC0019D" '------------------------------------------------------------ '------------------------------------------------------------ 'Main script set objShell = CreateObject("WScript.Shell") Set swbemLocator = CreateObject("WbemScripting.SWbemLocator") swbemLocator.Security_.AuthenticationLevel = 6 'Packet Privacy. Set swbemServices = swbemLocator.ConnectServer(".", "root\SMS") Set oProviderLocation = swbemServices.InstancesOf("SMS_ProviderLocation") For Each oLocation In oProviderLocation If oLocation.ProviderForLocalSite = True Then Set swbemServices = swbemLocator.ConnectServer(oLocation.Machine, "root\sms\site_" + oLocation.SiteCode) End If Next Set arrComputers = SWbemServices.ExecQuery("select * from SMS_R_System WHERE Unknown=1") For Each objComputer In arrComputers 'DElete special..this will delete the machine from the system objComputer.Delete_ Next Set SWbemServices = Nothing Set SWbemLocator = Nothing Wscript.Quit |
Clear out OSD collections in 2007 Posted: 24 Apr 2013 05:08 PM PDT Do you have OSD collections in 2007 that you drop machines into for imaging. What happens when a machine fails to image completely or send the completion code and remove from the collection. Well they say in an users see that "Operating System Deployment is ready..." so here is some code to help you remove computers from a collection, create a task on the primary site to run at a given time: set objShell = CreateObject("WScript.Shell") Set swbemLocator = CreateObject("WbemScripting.SWbemLocator") swbemLocator.Security_.AuthenticationLevel = 6 'Packet Privacy. Set swbemServices = swbemLocator.ConnectServer("US1153SCCMC03", "root\sms\site_C03") sCollectionIDs = "ABC00052:ABC00054:ABC00053:ABC00055" mCollectionID = Split (sCollectionIDs, ":") for i = Lbound(mCollectionID) to UBound(mCollectionID) query= "SELECT ResourceID FROM SMS_CM_Res_Coll_" & mCollectionID(i) Set arrComputers = SWbemServices.ExecQuery(query) For Each objComputer In arrComputers RemoveCollectionMembership objComputer.ResourceID,mCollectionID(i) Next Next Set objCollection = Nothing Set SWbemServices = Nothing Set SWbemLocator = Nothing '-*------------------------------------------------------------------- Sub RemoveCollectionMembership(intresourceid,CollectionID) on error resume next set objCollection = SWbemServices.Get("SMS_Collection='" & CollectionID & "'") set ObjDirectRule = SWbemServices.Get("SMS_CollectionRuleDirect").SpawnInstance_ ObjDirectRule.ResourceID = intresourceid ObjCollection.DeleteMembershipRule objDirectRule End Sub |
Flexera Software wrote a new post, What does optimization of your SAP landscape actually mean? Posted: 24 Apr 2013 02:18 PM PDT By Matt Schaefer Comments: 0 |
Huawei Exec: Networking Giant No Longer Interested in US Market Posted: 24 Apr 2013 01:30 PM PDT U.S. concerns about Huawei's relationship with the Chinese government have made it too difficult to sell networking gear in this country, officials say. |
Google Fiber Wants to Get More Kansas City Businesses Online Posted: 24 Apr 2013 12:22 PM PDT Google is offering Kansas City businesses free Websites and one year of free hosting, and has added a Google Fiber TV app for iPad users. |
Tim Dedrick became a registered member Posted: 24 Apr 2013 11:57 AM PDT Comments: 0 |
Jill A became a registered member Posted: 24 Apr 2013 11:35 AM PDT Comments: 0 |
Polywog became a registered member Posted: 24 Apr 2013 10:25 AM PDT Comments: 0 |
Enhansoft and Stephen are now friends Posted: 24 Apr 2013 08:27 AM PDT Comments: 0 |
Anoop C Nair and Stephen are now friends Posted: 24 Apr 2013 08:27 AM PDT Comments: 0 |
Mohammed became a registered member Posted: 24 Apr 2013 08:01 AM PDT Comments: 0 |
Jase T. Wolfe wrote a new post, Fully Automate Your Quarterly Build & Capture Process Posted: 24 Apr 2013 08:01 AM PDT Best practices has your desktop deployment not installing Windows via the setup.exe each and every time, but rather deploying a captured Windows image and building off of that. You choice of a thin or fat image is […] Comments: 0 |
Rod Trent wrote a new post, Assessing Network Traffic Potential for a ConfigMgr 2012 Implementation Posted: 24 Apr 2013 06:42 AM PDT Saud Al-Mishari is updating his original content around Client Network Traffic Tests for ConfigMgr 2007, to a ConfigMgr 2012 version. He's promised a 3-part series and has the first post up already. Saud breaks […] Comments: 0 |
Bill became a registered member Posted: 24 Apr 2013 06:06 AM PDT Comments: 0 |
Posted: 24 Apr 2013 05:59 AM PDT Isaiah 26:9 With my soul have I desired thee in the night; yea, with my spirit within me will I seek thee early: for when thy judgments are in the earth, the inhabitants of the world will learn righteousness Comments: 0 |
Posted: 24 Apr 2013 05:23 AM PDT After returning back to sccm 2007 I'm considering studying for the 2012 exam. anybody out there sat this one recently. Just bought the big book called unleashed 2012. looks like it has just about everything I may need to pass the exam. Comments: 0 |
Andrew joined the group System Center Jobs Posted: 24 Apr 2013 05:18 AM PDT Comments: 0 |
Andrew joined the group System Center Configuration Manager 2007 Posted: 24 Apr 2013 05:18 AM PDT Comments: 0 |
Andrew joined the group System Center Configuration Manager 2012 Posted: 24 Apr 2013 05:17 AM PDT Comments: 0 |
You are subscribed to email updates from SCCM by Davis To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No hay comentarios:
Publicar un comentario