![]() IResultObject collection = connection.GetInstance( " SMS_llectionId='SMS00001'") IResultObject outParams = connection.ExecuteMethod( InParams.Add( " OverwriteExistingRecord", false) InParams.Add( " MACAddress", macAddress) ![]() InParams.Add( " SMBIOSGUID", smBiosGuid) InParams.Add( " NetbiosName", netBiosName) MacAddress = macAddress.Replace( " -", " :") ![]() if ( string.IsNullOrEmpty(macAddress) = false) Throw new ArgumentNullException( " smBiosGuid or macAddress must be defined") If (smBiosGuid = null & macAddress = null) You can leave a response, or trackback from your own site.Public static int AddNewComputer(WqlConnectionManager connection, string netBiosName, string smBiosGuid, string macAddress) //, string ComputerName, string CollectionName) You can follow any responses to this entry through the RSS 2.0 feed. On Thursday, March 20th, 2008 at 14:18 and is filed under Microsoft, SCCM/SMS2003. Tags: add computer, collection, how to, import, OSD, PXE, SCCM Well you are not alone almost everyone questions that, but thankfully R2 for SCCM fixes this annoyance. You might think why do you have to add PC in order to image them. To verify that PC was added go to Deployment collection. Wait until Wizard completes and click Close Select Add computers to the following collection and browse the collection where you want to put your PC(in my case it is Deployment) As soon as you see the MAC address press Pause key and write down the MAC. To get MAC or GUID address just power on the PC you want to image and press F12 this will make PC to get into PXE boot mode. Select to Import single computer.Įnter computer name and MAC or GUID. Import Computer Information Wizard will start. ![]() Right click on Computer Association and select Import Computer Information Go to System Center Configuration Manager>Site Database>Computer Management>Operating System Deployment So first create it if you have not done so. Before you start adding computers to Collection. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |