Help me in creating a Device Collection - i have a list of machine name (in a excel or CSV file)

Hello Guys,
I have created a Device collection for UK region (2000+ machines)
Now i have been given a list of 1000 machines to which i need to deploy an application.
I have to create a device collection for this 1000+ machines. as an input i have a excel or CSV file with a list of machine names.
Please suggest me how can i create a device collection with CSV file as input. Is my CSV file should be in particular format.
Or is there any other way i can create a collection for this 1000 specific machines.
Please suggest.

My previous post was for sccm 2012.
here its for 2007
In the Operating System Deployment section of SCCM right click on Computer Association and choose
Import Computer Information
when the wizard appears select Import Computers using a file
The file itself must contain the information we need in this (CSV) format
COMPUTERNAME,GUID,MACADDRESS
(sample below)
Quote
deployvista,3ED92460-0448-6C45-8FB8-A60002A5B52F,00:03:FF:71:7D:76
NEWCOMP1,55555555-5555-5555-5555-555555555555,05:06:07:08:09:0A
NEWPXE,23CA788C-AF62-6246-9923-816CFB6DD39F,00:03:FF:72:7D:76
w2k8deploy,BFAD6FF2-A04E-6E41-9060-C6FB9EDD4C54,00:03:FF:77:7D:76
if we look at the last line, I've marked the computer name in Red, the GUID in BLUE and the MAC address in GREEN, separate these values with commas as above.
w2k8deploy,BFAD6FF2-A04E-6E41-9060-C6FB9EDD4C54,00:03:FF:77:7D:76
the file can be a standard TEXT file that you create in notepad, and you can rename it to CSV for easier importing into our wizard...
so, click on Browse and browse to where you've got your CSV file
on the Choose Mapping screen, you can select columns and define what to do with that mapping, eg: you could tell it to ignore the GUID value (we won't however)
on the next screen you'll see a Data Preview, and this is useful as it will highlight any errors it finds with a red exclamation mark, in the example below a typo meant that it correctly flagged the MAC address as invalid
so edit your CSV file again and fix the error, click previous (back) and try again
Next choose the target collection where you want these computers to end up in
review the summary
in SCCM collections, we can now see the computers we've just imported from File,
Enjoy
Nikkoscy

Similar Messages

  • Need help creating a device collection based on members of a user collection

    Hello everyone,
        I am working on developing a device collection based on the membership of a user collection. The purpose of the device collection is to provide us with the capability of deploying software to users while the users are logged off their systems.
    I would love to use AD security groups but unfortunately that isn't an available approach in this case. I have been experimenting with SQL queries to find the best way to obtain the results I want and the following query works like a champ:
    Select SYS.Name0,
    v_R_User.Unique_User_Name0
    FROM v_R_System AS SYS
    JOIN v_UserMachineRelationship ON SYS.Name0=v_UserMachineRelationship.MachineResourceName
    JOIN v_R_User ON v_UserMachineRelationship.UniqueUserName=v_R_User.Unique_User_Name0
    JOIN v_FullCollectionMembership AS FCM on FCM.ResourceID = v_R_User.ResourceID
    JOIN v_Collection AS COLMEM ON COLMEM.CollectionID = FCM.CollectionID
    Where FCM.CollectionID = 'cha0000B'
    The problem arises when I attempt this same query in SCCM 2012, I don't get any results from this query so of course it won't work to base a Device Collection from. Here is the WQL:
    Select SYS.Name,
    SMS_R_User.UniqueUserName
    FROM SMS_R_System AS SYS
    JOIN SMS_UserMachineRelationship ON SYS.Name=SMS_UserMachineRelationship.MachineResourceName
    JOIN SMS_R_User ON SMS_UserMachineRelationship.UniqueUserName=SMS_R_User.UniqueUserName
    join sms_v_FullCollectionMembership AS FCM on FCM.ResourceID = SMS_R_User.ResourceID
    join SMS_v_Collection AS COLMEM ON COLMEM.CollectionID = FCM.CollectionIDwhere FCM.CollectionID = 'cha0000B'
    I am hoping that someone will be able to look at my SQL and tell me how I can get the WQL right so I can use this query properly or provide suggestions to accomplish what I need.
    Thanks in advance for the assist,
    Chris Bolton

    Hi Torsten,
         While your suggestion of that link was close, it still went in the direction of using security groups as the basis for device queries and that isn't the direction I am pursuing. I had a colleague look at my original query and he identified
    that I had some unnecessary redundancy but that didn't resolve my SQL -> WQL inconsistency. I continued to play with the query and the following SQL also works (and actually works a bit better for my purposes)
    select distinct v_R_System.Name0,
    v_R_User.Unique_User_Name0
    FROM v_R_System
    JOIN v_R_User on v_R_User.Full_User_Name0 = v_R_System.User_Name0
    JOIN v_UserMachineRelationship ON v_R_System.Name0 = v_UserMachineRelationship.MachineResourceName
    JOIN v_FullCollectionMembership on v_R_User.Unique_User_Name0 = v_FullCollectionMembership.SMSID
    WHERE v_FullCollectionMembership.CollectionID = 'cha0000b'
    however when I translate it to WQL I still am unable to get results (here is the WQL version)
    select distinct sms_R_system.Name,
    sms_R_User.UniqueUserName
    FROM sms_R_system
    JOIN SMS_R_User on SMS_R_User.FullUserName = SMS_R_System.UserName
    JOIN SMS_UserMachineRelationship ON SMS_R_System.Name = SMS_UserMachineRelationship.MachineResourceName
    JOIN SMS_FullCollectionMembership on SMS_R_User.UniqueUserName = SMS_FullCollectionMembership.SMSID
    WHERE SMS_FullCollectionMembership.CollectionID = 'cha0000b'
    I think I am on the verge of getting this right but it sure seems to be a challenge. Is there a "WQL Workbench" that I could use that is similar to SQL Management Studio inside of which I could test these queries rather than having to use the rather clunky
    SCCM "Edit Query Statement" dialog box?
    Thanks again,
    Chris Bolton

  • Please help how to create new device mgr in nokia ...

    Problem is that my set USB
    port out of Order. I to update
    my nokia n95.
    sir I need device Mgr. Profile
    for nokia N95i DETAIL
    V.35.0.002 10.11.2009
    RM-159
    Nokia N95 (17.01)
    Coz It's USB PORT NOT work
    properly so that I need a
    server profile like Server name( )
    Server id ( )
    Server ( )
    Session internet
    Host address ( )
    Port ( ) User name ( )
    Password ( )
    Please help
    Posting 20/12/2012

    rashidkhalid999 wrote:
    Problem is that my set USB
    port out of Order. I to update
    my nokia n95.
    sir I need device Mgr. Profile
    for nokia N95i DETAIL
    V.35.0.002 10.11.2009
    RM-159
    Nokia N95 (17.01)
    Coz It's USB PORT NOT work
    Please help
    Posting 20/12/2012
    Please answer this question:
    1. Do you have V.35.0.002 10.11.2009 firmware installed now?
    If you do you have the most up to date version available installed, there are no newer versions.
    If not you need to install Nokia Suite to check for and install an available update or contact a Nokia Care Point to have this done for your (if possible). If you visit a Care Point I would install Nokia Suite anyway and do a full backup before you go.
    The N95 can't do an update over the air so setting up an access point would not help you, assuming that is what you are asking for. Which settings to use depends on which carrier you are with and so you should check their website or call their helpdesk for these settings.
    In any other case be more clear on what you need help with or you could contact Nokia Care who will be able to assist you in your native language (normally). You can reach them by phone, mail or chat (where available) through the 'Contact us' section on this page.
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • Can't create an E-mail acct after mail list by same name has been deleted.

    I deleted a mailing list through delegated administrator because the user wants it created as an E-mail account instead. After deleting the list through the delegated administrator interface (and after waiting 1.5 hours!) I still cannot create the E-mail account. It says the name is already in use. Is there a way to purge the mailing list name from the system so I can create this E-mail account right away?

    to purge the user
    use command line utility
    ./imadmin user purge
    ( default purge is 10 days, specify -g 0 if required imeediately)

  • Create Device Collection WITH Refresh Schedule using Powershel CMDLets

    Hello everyone
    I'm attempting to create a PowerShell script to create a device collection and I'm running into a very frustrating issue.  I want to be able to set the collections refresh time but can't seem to get it to work.  This code here works to create the
    collection and tell it to do incremental updates but I cannot figure out how to set refresh time.  Everything I've attempted has failed and google seems to be no help right now.
    $CollectionName = "Test"
    $CollectionQueryValue = 'select * from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.NetBIOSName in ("Hostname")' $CollectionQueryName = "Direct by Hostname"
    New-CMDeviceCollection -Name $CollectionName -LimitingCollectionName "All Systems" -RefreshType ConstantUpdate
    Thanks for your help!

    I haven't tried it, but the following should work:
    $Sched = New-CMSchedule -Start "01/02/2014 1:00 AM"
    -DayOfWeek Sunday -RecurCount 1
    New-CMDeviceCollection -Name "C1"
    -LimitingCollectionName "All Systems" -RefreshSchedule $Sched -RefreshType Both
    Torsten Meringer | http://www.mssccmfaq.de

  • Stagger application deployment to device collection

    Hi,
    I've created a device collection using a query that has list of machines with a specific application installed.
    I have an updated version of that application that I'd like to deploy to that collection.
    I'd like to stagger the deployment so that the update takes place on few computers each day or so. For example, every night update the application on 10 machines.
    Can this be done? I'm using SCCM 2012 SP1.
    Pman
    http://www.pmansLab.com/

    There's no direct way to do this.
    One way to accomplish this though is to create a set of sub-collections that are limited to your main collection. You would then create new deployments with different deadlines for each of these "sub-"collections. The membership of these sub-collections
    could then be done using a query based rule that looks at something like the last digit/character of the system's GUID. For example, you could create seven sub-collections and the query rule for the first would only include systems where the GUID's last character
    was 1-3, the second collection would look for 4-6, the 3rd would be 7-9, ...
    If, your application deployment re-evaluation is set to everyday, then you could also do something similar using requirement rules and a little basic math.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Multiple IP Subnet Based Device collection

    Hi ,
    I have created Single IP Subnet based device Collection as below WQL.. and its working with
    is like Operator and Value as 192.168.11.0
    can you please suggest what would be the value if i have to create the Device collection upon 2 Subnets  of 192.168.11.0 and 192.168.12.0
    Currently i am able to enter only one IP Subnet in value txt box..
    Shailendra Dev

    You've got to use is like because the field you're checking on contains an array. In your new scenario use
    192.168.1% to cover both subnets, but do keep in mind that it will also include all other subnets that start like that. In case you only want those two subnets simply create two separate membership rules.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • SCCM Client installation to only Online machines from All Systems Device collection through Client Push

    Hi,
    How can we create a device collection based on only online machines , than use that collection to install the sccm client through client push method.
    Shailendra Dev

    You can run a ping report and then create a collection from only the online machines:
    Ping Report Script (Put the machine list in "pclist.txt" in the same folder):
    Const ForReading = 1
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("WScript.Shell")
    If not objFSO.FileExists("Pclist.txt") THEN
    wscript.echo "File not found,"&_
    vbcrlf&"with a hard return at the end of each line."
    wscript.quit
    end if
    tempobj="temp.txt"
    Set objTextFile = objFSO.OpenTextFile("Pclist.txt", ForReading)
    logfile="results.csv"
    Set ofile=objFSO.CreateTextFile(logfile,True)
    strText = objTextFile.ReadAll
    objTextFile.Close
    wscript.echo "Ping starting"
    ofile.WriteLine ","&"Ping Report -- Date: " & Now() & vbCrLf
    arrComputers = Split(strText, vbCrLF)
    for each item in arrcomputers
    objShell.Run "cmd /c ping -n 1 -w 1200 " & item & " >temp.txt", 0, True
    Set tempfile = objFSO.OpenTextFile(tempobj,ForReading)
    Do Until tempfile.AtEndOfStream
    temp=tempfile.readall
      striploc = InStr(temp,"[")
            If striploc=0 Then
                strip=""
            Else
                strip=Mid(temp,striploc,16)
                strip=Replace(strip,"[","")
                strip=Replace(strip,"]","")
                strip=Replace(strip,"w"," ")
                strip=Replace(strip," ","")
            End If     
            If InStr(temp, "Reply from") Then
                 ofile.writeline item & ","&strip&","&"Online."
            ElseIf InStr(temp, "Request timed out.") Then
                 ofile.writeline item &","&strip&","&"No response (Offline)."
            ELSEIf InStr(temp, "try again") Then
                 ofile.writeline item & ","&strip&","&"Unknown host (no DNS entry)."
    End If
    Loop
    Next
    tempfile.close
    objfso.deletefile(tempobj)
    ofile.writeline
    ofile.writeline ","&"Ping complete "&now()
    wscript.echo "completed."
    objShell.Run("""C:\Program Files\Microsoft Office\OFFICE11\excel.exe """&logfile)
    -RG

  • Nested Security Groups in Device Collections

    Hi all,
    Is it possible to create a device collection with a dynamic query containing nested Security Groups(Active directory).
    Following is the a sample-
    Security Group 'A' has the following members-
    1) Security Group 'C'
    2) Security Group 'D'
    3) User 'John'
    4) User 'Dave'
    I'm trying to create a device-collection in SCCM 2012 referencing this Security Group 'A' and my intent is to have all members of SG 'C' & 'D' to be part of it along with John & Dave.
    thanks in advance.

    Within ConfigMgr, "Security Group A" will be listed as a Security Group Name with all the direct members of "Security Group A" and the members of "Security Group B" and "Security Group C".
    So, simply querying for "Security Group A" should be sufficient.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Device doesn't have a QFS superblock (SBLK)

    Hello,
    I am trying to set up a QFS shared file system between 2 Solaris machines and a SLES 11 SP1 machine.
    I have downloaded SUN QFS 5.3 and installed it on both Solaris machines and SLES 11 SP1 machine.
    I have chose one of the Solaris server to be my host and the others i was planning to have them as clients.
    I have created the QFS and mounted it on the server, and I was successful in mounting it also on the Solaris QFS client.
    However, I have failed to do so on the SLES 11 SP1 QFS client.
    When i have tried using the samfsconfig command on the multipath device /dev/dm-0 i got the message
    Device doesn't have a QFS superblock (SBLK)
    Can anyone help me? what does "Device doesn't have a QFS superblock (SBLK)" mean?
    Is the error somewhat related to the multipath?
    Regards,
    Marwan

    Once paired with a laptop of tablet that is all that is needed. The connection does not have to be maintained so the phone disconnects.
    If you initiate a transfer the devices connect again and do the transfer.
    Start the pairing from the notebook in devices and printers, add a device.
    For the PC to receive a file right the BT icon and select receive a file, waiting for a connection pops up, then start the transfer from the phone.
    For the PC to send a file you can start with the file to share, right click it, send to, bluetooth device, and select the phone.

  • Create a site collection with dedicated content db with the help of server object model

    Hi,
     I have a requirement to implement a create a new site collection with dedicated content db. i have got 2 PowerShell scripts which does the same. first i will  create a content  db and then create the sitecollection with contentdb
    parameter with the created contentdb name.
    Now the site collection created must contain few doc libs and few splists with look up columns, people picker data type, multiline of text, single line of text,choice field. hence i am thinking the below approach:
     1) create a web template and include sp doclibs, splists , site columns in this.
     2) i am thinking of a ui design to create the below:
     These are called "projects" which is actually the site collection with the doclibs, splists and must be created by sharepoint admin on click of a link in my landing page.end users access these "projects"  aka 
    "site collections" and uploads the documents into these projects and collaborate.
    so my question is :  On click of a button can I create a site collection with a dedicated content db based on the web template created with the  hel of  server  object model?
    The other approach is on click of this button call the power shell script which accepts the sitecollection name and contentdb name as parameter. is this possible in  server obj.model ?
    passing a paramter from code behind- visual web part ui to power shell ?
    and it should create the site collec based on the web template and create the content db.
    my doubt #3 : will it not throw error "request timed out" when creating the site collec and contentdb from ui ?

    Try below:
    http://sharepoint.stackexchange.com/questions/21606/programmatically-create-a-site-collection-in-an-existing-mounted-content-databa
    PowerShell is just a wrapper for the object model. You shouldn't need to reference PowerShell in your feature, just create the new site collection with C# inside your feature. There's a blog post here that illustrates some code that may get you started.
    http://blog.mastykarz.nl/programmatically-creating-sites-site-collections-custom-web-template/
    http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx
    # Enable the remote site collection creation for on-prem in web application level
    # If this is not done, unknon object exception is raised by the CSOM code
    $WebApplicationUrl = http://dev.contoso.com
    $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
    if ($snapin -eq $null)
    Write-Host "Loading SharePoint Powershell Snapin"
    Add-PSSnapin "Microsoft.SharePoint.Powershell"
    $webapp=Get-SPWebApplication $WebApplicationUrl
    $newProxyLibrary = New-Object "Microsoft.SharePoint.Administration.SPClientCallableProxyLibrary"
    $newProxyLibrary.AssemblyName = "Microsoft.Online.SharePoint.Dedicated.TenantAdmin.ServerStub, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    $newProxyLibrary.SupportAppAuthentication = $true
    $webapp.ClientCallableSettings.ProxyLibraries.Add($newProxyLibrary)
    $webapp.Update()
    Write-Host "Successfully added TenantAdmin ServerStub to ClientCallableProxyLibrary."
    # Reset the memory of the web application
    Write-Host "IISReset..."
    Restart-Service W3SVC,WAS -force
    Write-Host "IISReset complete."
    If this helped you resolve your issue, please mark it Answered

  • Create a User Collection with installed specific software

    Can someone help with Query to Create a User Collection with installed specific software.
    I have created a collection for Computer Collection with installed specific software but i need to push apps on users and for that i need to create a user collection with specific software installed.
    Thanks

    Yes. I have created device collection with
    installed specific software and used  this collection to pull report from out the box report for Primary Device users( Not sure about exact report name but similar) for
    this collection. Did some excel work to find primary device user.
    But looks like there is no straight forward solution. It would be great if i know how to import multiple users from a text/csv file into a User collection.
    Thanks

  • Operating system name under Device Collection

    Hi,
    I have created device collection and select the Operating system from Add criteria but operating system is showing as below..
    can this will be show the real OS name as Windows 7 ,Windows XP , Windows Server 2008 R2, Windows Server 2012 R2 instead of  Operating system as below...
    Shailendra Dev

    No, you can't run a query one time that will change this information in the console.  The info displayed in the console is what is being discovered out of Active Directory for the the Computer Object.
    They were suggesting that if you wanted to see a list of computers and a more friendly name, you could run a Query in the console or write a report in SSRS - but that would just be for viewing the information there and would not affect things on the server.
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you found a bug or want the product to work differently,
    share your feedback.
    <-- If this post was helpful, please click the up arrow or propose as answer.

  • Wakeup Time on Power Management Tab of device collection set but PC's not waking up

    Hi
    I have a device collection that is setting the power management settings of some Windows 7 HP desktops machines, I have also set a wake up time, however even though the peak / off peak plans are getting applied and the machine goes to sleep when off peak
    plan is applied it is not waking up automatically (both plans have allow wakeup timer enabled) 
    Is there something else i need to do?
    Thanks
    Nick

    Hi,
    I recommend you review the log file pwrmgnt.log.
    You would see the line "The Next Wake up time is <date><time>"
    For more information, please review the link below.
    How to Create and Apply Power Plans in Configuration Manager
    http://technet.microsoft.com/en-us/library/gg712684.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Device Collections stuck with Hourglass

    I did a fresh install of SCCM 2012 R2 on a Server 2012 R2 server, along with SQL 2012. 
    I didn't run into any real issues during the install, outside of finding various pre-requisites I had to manually add/install before SCCM 2012 would install.
    At this point it's installed and I've got the management console up, however, there are a few problems right off the bat I'm not sure why would exist.
    1. Device collections have hourglasses next to them. I created one new device collection that queries Active Directory, and this one is also stuck with an hourglass next to it.
    "All Desktop and Server Clients" has a member count of 94 it appears, but also has an hourglass on its icon.
    The new
    collection I created with one Query of AD OU rule, has 0 member count with an hourglass, even though I know the OU contains like 40 computers. 
    2. colleva.log shows no errors but has nothing in the log for past 12 hrs or so
    3. Also I have 3 Critical components and 6 Warnings. Sheesh, a bit overwhelming for a fresh install. Is this supposed to be normal or am I going to have to delve into all these logs and
    reverse engineer what's going on?
    Critical:
    SMS_DATABASE_NOTIFICATION_MONITOR
    SMS_STATE_SYSTEM
    SMS_ENDPOINT_PROTECTION_MANAGER
    Warning:
    SMS_NOTIFICATION_SERVER
    SMS_MP_CONTROL_MANAGER
    SMS_EXECUTIVE
    SMS_SITE_SQL_BACKUP
    SMS_COLLECTION_EVALUATOR

    Hi,
    Have you checked the log file SmsAdminUI.log? It records Configuration Manager console activity.
    Maybe it can give us some clues.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Sharing an iTunes library across multiple computers

    I tried Home Share but it did not do what i expected.  In addition to doing Home Share, the files need to be copied to each computer apparently.  Is it permitted to have the iTunes Library be located on a shared disc (such as one attached to an AirPo

  • How can I sync with the cable in ios7?

    whatever happened to privacy? We should at least be able to CHOOSE whether we want to share all our personal information with all the hackers and god knows what else has access to icloud. Do I have to revert to a previous OS  in order to sync via cab

  • Installation of PCM 11.1

    We have been a 2-4 seat user of Primavera Expedition/Professional/CM since Expedition v3.0 in 1990 and, due to the economy, have not had use for it over the past couple years. We have recently been awarded a small municipal project and would like to

  • FaceTime works on iPhone but not macbook..? HEEELP.

    Facetime makes/recieves calls as per usual with iphone, but Macbook pro is unsuccessful- says 'connecting' and rings without ever getting through/does not recieve incoming facetime from other devices.

  • F4 help for timestamp on selection screen

    Hi experts! I have this code in custom ALV report: selection-screen: begin of block b1 with frame title text-t01. DATA: w_aux_sc_created_at like ztable-sc_created_at. SELECT-OPTIONS s_sc_c02 for w_aux_sc_created_at. Ztable-sc_created_at is COMT_CREAT