Device Collections - query for HyperV servers

Is it possible to devise a Device Collection query that would only list servers running with the HyperV role ?

select *  from  SMS_R_System inner join SMS_G_System_SERVICE on SMS_G_System_SERVICE.ResourceId = SMS_R_System.ResourceId
where SMS_G_System_SERVICE.DisplayName = "Hyper-V Virtual Machine Management"
Cheers
Paul | sccmentor.wordpress.com

Similar Messages

  • Collection query for computers with windows management framework 3.0

    Hi,
    collection query for computers with windows management framework 3.0, but I cant found a way. I cant see that it is in the inventory data for SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName.
    So any way to get computers with windows management framework 3.0?
    /SaiTech

    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareProduct on SMS_G_System_SoftwareProduct.ResourceId
    = SMS_R_System.ResourceId where SMS_G_System_SoftwareProduct.ProductName like "Windows Management Framework 3.0%"
    That won't work because as mentioned, it doesn't appear in ARP.
    Torsten's suggestion will work or you can resort to software/hardware inventory using the info at
    http://serverfault.com/questions/555100/methods-to-detect-version-of-windows-management-framework
    Jason | http://blog.configmgrftw.com

  • Lms 3.1 Device Collection Failure for Cat 6506-E

    Unable to pull an updated device collection for a Cat6506-E running 12.2(33)SXI3.  Was able to pull one when the device was running 12.2(33)SXH3, but not now.  Anyone aware of a bug with the 12.2(33)SXI3 code?  All other devices function correctly so I'm guessing an IOS bug, although I got tired of searching for it.  Thanks in advance, Ernie

    I've just upgraded to LMS 3.2, and LMS still can't inventory my two 6506-E.
    I've run an "SNMP Walk" against one device, and it seems to work : here's the first few lines of it :
    The following is a SNMP walk of device 10.x.x.x starting from
    SNMP Walk Output
    RFC1213-MIB::sysDescr.0 = STRING: "Cisco IOS Software, s72033_rp Software (s72033_rp-IPSERVICESK9-VM), Version 12.2(33)SXI2a, RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2009 by Cisco Systems, Inc.
    Compiled Tue 01-Sep-09 22:55 by prod_re"
    RFC1213-MIB::sysObjectID.0 = OID: CISCO-PRODUCTS-MIB::cat6506
    EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (803850159) 93 days, 0:55:01.59
    And I checked the IC_Server.log... this time it mentions SNMP timeout... I tried bumping the timeout to 20 seconds with 2 retries in Campus Manager.
    I've attached my IC_Server.log excerpt.
    Thanks for the help!
    Alex.

  • Looking collection query for WMI Issue and obsolete computer list

    Hi 
    I want to create collection based on client having below issue.
    WMI Issue and obsolete 
    in one query.
    Kindly paste it

    hi Gokul,
    If you install the client status reporting tool on your environment its easy to find out the client health issues with a report and  for the obsolete entry query
    Client status reporting tool use http://technet.microsoft.com/en-us/library/cc161853.aspx
    http://rajsavi.wordpress.com/2012/08/20/installation-and-configuration-of-client-status-reporting-tool-for-sccm/
    WQL for duplicate entry:
    http://eskonr.com/2012/10/sccm-collectionreport-duplicate-computer-names-with-different-resource-id/
    Kamala kannan.c| Please remember to click “Mark as Answer” or Vote as Helpful if its helpful for you. |Disclaimer: This posting is provided with no warranties and confers no rights

  • Collection query for specific SCCM client version - Parameters?

    Good morning,
    I need to upgrade my older clients as I recently upgraded SCCM to SP2.  I can't seem to find the parameters in query builder to populate a collection with a specific SCCM client version.  Can anyone help me out or point me in the right direction?  I can't find anything using "The Google".  You'd think lots of people would want this that there'd be a default query in SCCM already.  Thanks.

    Here is a query of all clients running sp1 version:
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SMS_ADVANCED_CLIENT_STATE on SMS_G_System_SMS_ADVANCED_CLIENT_STATE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version = "4.0.6221.1000"
    JonL

  • Sccm 2012 collection query for software deployment failed PCs

    Hi,
    Let me know how can we create a collection of PCs which a particular advertisement failed.
    SCCM 2012 sp1 infra
    Midhun.PS

    See
    http://myitforum.com/cs2/blogs/gramsey/archive/2006/10/20/How-To_3A00_-Create-a-Collection-Based-on-an-Advertisement-Status.aspx. This will only work for program deployments, not applications.
    Torsten Meringer | http://www.mssccmfaq.de

  • Collection: query for App-V 5.0 SP3 build version _5.0.10107.0

    Hi,
    I 'd need to have a collection of App-V 5.0 SP3 version 5.0.10107.0
    I have this query but not sure howto find version/build 5.0.10107.0
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID
    = SMS_R_System.ResourceId inner join SMS_G_System_CH_ClientSummary on SMS_G_System_CH_ClientSummary.ResourceId = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Application Virtualization%" and SMS_G_System_CH_ClientSummary.ClientActiveStatus
    = 1
    Please advise.
    J.
    Jan Hoedt

    Something like this:
    WHERE DisplayName LIKE '%Application Virtulization%' AND Version = '5.0.10107.0 '
    This will require both values to be true.

  • Device Collention query rule for registry value

    Hi,
    How do i create a device collection query in SCCM2012 R2 wizard rule to find the criterion type for a regisrty value data type.?
    For example: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters\srvcomment
    Value name: srvcomment
    Value Data: ABCD

    when you run RegToMof and point to the correct key, there are three tabs, one says ConfigMgr12 another says CnfgMgr07 and SMS2003. You want the ConfMgr12 tab.
    From that tab there are two tabs below that, a configuration.mof tab and a to import in ...... tab
    navigate to the key you want to include
    As you navigate both tabs are populated with data.  You need to copy the contents of the Configuration.mof tab and paste it in your configuration.mof files on your site server, which is located
    C:\Program Files\Microsoft Configuration Manager\inboxes\clifiles.src\hinv
    by default.  Backup the original in case you mess things up.
    The other tab, to import in Admin/Agent settings...., you need to copy the contents of that tab, and created a .mof file (which is just a regular text file), name is whatever.mof.  The go to your config man console, and import the .mof file into your
    agent settings/hardware inventory/set classes (you'll see the button in hardware inventory)

  • Client Settings for Device collections Vs Client Settings for User collections

    I noticed there are "Client Settings" set for each User and Group in SCCM. I want all my "Client Settings" configured by Device Collections not User Collections, what can I do? Can someone explain the difference between those?
    Thanks
    James A+, Network+, MCP

    One is for user settings on a client and the other is for device settings on a client. As you can imagine user settings can only be deployed to user collections and device settings can only be deployed to device collections.
    For more information about the user and device settings see:
    https://technet.microsoft.com/en-us/library/gg682067.aspx?f=255&MSPPError=-2147217396
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Query and Device Collection by Department

    Hi all,
      I am trying to figure out how to build a query and a device collection that is by department.
    In the administration of sccm 2012 sp1 I added the attribute "department" but I do not see a way to build a query that shows:
    user name/computer name/department/etc
    It seems the users and system resourses of the query are split up. Not sure how to join them to get the query I am after. Any help would be great. Thanks

    Hi,
    please examine the Active Directory System Discovery log (adsysdis.log) to confirm that discovery is running properly.
    For more information, please review the link below:
    Discover additional Active Directory attributes with SCCM 2007/2012 discovery
    http://deployos.com/blog/2013/01/05/discovery-additional-active-directory-attributes-with-sccm-20072012-discoveries
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    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.

  • Query for users without a primary device assigned (through automatic affinity or manually assigned)

    I'm looking for either a way to query or a view of a collection that will show me a list of users who do not have a primary device affinity established.  Vise versa might work as well- query for devices that don't have primary users assigned. 
    Any ideas?
    Thank you,
    DLovitt

    Using SCCM's PowerShell cmdlets, you can run something like this:
    $Devices = Get-CMDevice
    $FinalOutput = @()
    $Devices | % {
    $OutputObject = New-Object PSObject -Property @{
    Device = $_.Name
    LastUser = $_.UserName
    LastClientCheckTime = $_.LastClientCheckTime
    PrimaryUser = (Get-CMUserDeviceAffinity -DeviceName $_.Name).UniqueUserName
    $FinalOutput += $OutputObject
    $FinalOutput | export-csv $env:USERPROFILE\Desktop\ConfigMgrAffinityReport.csv -NoTypeInformation
    #End
    Which creates an output like the below.  
    Once you have these items joined, its easy to filter out those without a Primary User.
    e.g.
    $FinalOutput | ? {$_.PrimaryUser -ne $null}
    NOTE: This may be necessary: http://blogs.technet.com/b/askperf/archive/2008/09/16/memory-and-handle-quotas-in-the-wmi-provider-service.aspx
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

  • Adding servers in to device collection in sccm 2012

    When I add a set of servers in to device collection some times some of the servers are failed to add in the collection. Is there any solution for adding the previously failed server again to the device collection successfully?

    Right click on collection and go to properties check whether added server is listed there or not? If no try to add the device manually by clicking yellow * button - put in server name ...next next and next very straight forward process.
    The first thing you need to do id update the collection after adding the server then only it may reflect. 
    What you meant by server get failed to add? Is there any particular error?
    Anoop C Nair (My Blog www.AnoopCNair.com)
    - Twitter @anoopmannur -
    FaceBook Forum For SCCM

  • Need to make collection Query statement by sccm 2012 sp1 for Count of Licenses by License Status

    I want to make collection Query statement by sccm 2012 sp1 for all windows activated and all non-activated windows.
    Ahmed Sherif

    Have a look at the Software Licensing Product attribute classes when creating a Query - remember to choose
    System Ressource when creating the Query. You would have to enable this class to be collected during Hardware Inventory. Go to
    Client Settings -> Hardware Inventory ->
    Set Classes -> Select Software Licensing Product.
    This Class is part of the Asset Intelligence classes so you could enable it from there as well.
    Another way to accomplish is to use Compliance Settings to get this information.
    Create a Configuration item that query the Win32_WindowsProductActivation WMI Class, if you are using XP and the
    SoftwareLicensingProduct class for later os´s
    Add this Configuration Item to a Baseline ad deploy it to your Collections as needed.
    When the Baseline has been evaluated you can use this information to create query
    Machines reported as compliant is actived and machines reported as Non-Compliant is not activated.
    You can read about the Win32_WindowsProductActivation WMI Class here:
    http://msdn.microsoft.com/en-us/library/aa394520(v=vs.85).aspx
    and the SoftwareLicensingProduct here:
    http://msdn.microsoft.com/en-us/library/cc534596(v=vs.85).aspx

  • Application set as 'Install for User' but deployed to device collection - what happens ?

    Hi All,
    If i package an application and set it to 'install for User' - if i then deploy that application to a device collection as required will it install for every user each time they log onto the computer.. ???
    Cheers.

    Install for User determines the security context in which it will install.  If the logged on user is not an admin, the install will likely fail.  And yes, technically the app will be available for all users who log in (to be installed) however
    if you have your detection method configured properly the app will be installed only once as the detection will determine its already there.
    Someone please correct me if I am wrong.  ;-)

  • IOS 5 OTA: Device query for mac address

    Device query for attribute "MAC_ADDRESS_EN0" doesn't return any value on iOS 5. It use to work fine on iOS 4. Does anyone know the new attribute to query mac address on iOS 5. Appreciate any help.
    Thanks,
    Juzer.

    That attribute was deprecated in iOS 4, and has been removed in iOS 5. There is no replacement for it.

Maybe you are looking for

  • Just completed a podcast via a Skype call. Mixed it in GarageBand, and not sure how to send it via email.

    Would love to know how to save the podcast into a manageable audio file and share it with the site administrator of my new website.  Is it easier to upload it to Itunes and then direct the admin. to the podcast to download? Any help will be greatly a

  • Need help with gallery plugin

    Hola I need your help (again) to figure it out why the lightbox plugin is not working in this site. http://mydsigner.com/claudia/gallery_manteca.html So you people know, this is the site that I asked before in this link; What's up with the new Adobe

  • 802.1x wireless authentication with certificates

    Hi. I have configured and working 802.1x authentication with certificates for Wired connections. with no problem. when i try to authenticate the same machine with 802.1x and certificates , on Wirelss, the ACS rejects it  with: "12520  EAP-TLS failed

  • Executing ABAP program in RFC to File

    Hi, In the RFC to File, the RFc is called in the ABAP program. So when i am executing the ABAP program for the 1st time it doesnt reach PI, only when clicking the execute button multiple times execution reaches PI and a message ID is created along wi

  • My iphone 4S will not sync with my PC - it has in the past but now won't

    My iphone 4S will not sync to my PC - it has done in the past and now no devices show up when I plug it in.? Please help.... my itunes is up to date and I have restarted my computer.