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
Similar Messages
-
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 SherifHave 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 -
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?
/SaiTechselect 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 -
Sharing Primary Site and Secondary Site's SUP WSUS for non-SCCM client use
I was wondering if the WSUS deployed for the SCCM's SUP can also be (re)used for non-SCCM clients.
Our SCCM infrastructure are mainly used to manage Workstations whereas our back-end servers are not deployed with SCCM agents due to overlapping SLAs and responsibilities. However, we would like to take advantage of WSUS's centralized update repository without
each back-end servers initiating connection to the Internet to get their updates.
Is this possible?No. WSUS servers that are used for SUPs are controlled by ConfigMgr and cannot be used outside ConfigMgr.
Torsten Meringer | http://www.mssccmfaq.de -
Registry Entry for SCCM Client Version w/CU Patch level
I'm trying to write a script that looks in the registry to find the CU patch level for a SCCM 2012 client. I can only find references in the registry to the base client version (ex: 5.00.7958.1000). I'm looking for something more specific (ex: 5.00.7958.1401).
I can find this in WMI, but I'd like to use the registry instead. Has anyone found anywhere to query this besides WMI?
ThanksHi,
For Cumulative updates check the registry at HKLM\SOFTWARE\Microsoft\SMS\Setup\CULevel
For more information, please review the link below:
Manage Configuration Manager 2012 Cumulate Update (CU)
http://blogs.msdn.com/b/minfangl/archive/2013/04/25/manage-configuration-manager-2012-cumulate-update-cu.aspx
SCCM 2012 Client Versions
http://sccmentor.wordpress.com/2013/09/11/sccm-2012-client-versions/
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. -
How to query for specific filename
I'm using a modified folder_action script to ftp files up to a server once they're finished being created.
Is there a way to query for a specific filename to be present in the folder prior to passing it to the actual ftp function? The catch is that the filename will always be in the format of <mmddyy>.mp4. During the process that is creating the actual file to be ftp'd, various temp files are created prior. I'd like to ensure that only the final version of the mp4 is acted upon, which is the one with the mmddyy as the filename.The folder action already has the folder and the item paths passed to it, so you can get the individual file name by using something like:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #FFDDFF;
overflow: auto;"
title="this text can be pasted into the Script Editor">
on adding folder items to this_folder after receiving added_items
repeat with AnItem in added_items
if text (count (this_folder as text)) thru -1 of (AnItem as text) is "<mmddyy>.mp4" then
-- whatever
end if
end repeat
end adding folder items to
</pre>
There are also temporary folders that the system provides, so you shouldn't have to use the folder with the attached action at all:
get path to temporary items
get path to temporary items from user domain -
JPQL Query for specific usecase, help needed
Does anyone knows how to write the JPQL query for this specific use case.
Take 3 tables,
Table 1 contains bids for many auctions (Bid table)
Table 2 Contains many auctions (Auction Table)
Table 3 contains many users (User Table)
I need a query to retrieve all the highest bids per auction for a particular user.
For example if the user has bidded on 10 auctions., but for each auctions has placed 3 bids each. Following the query, I would expect to get 10 bids back, each being the highest per auction.
A Bid has a bid value that can be used for filtering.
Thanks
PeterIt would be something like the JPQL version of 'select * from bids join auctions using (auction_id) where bids.userid = ? group by auctions.auction_id order by bids.amount desc'. But this is primarily an SQL question, and only secondarily a question as to how to translate that into JPQL, which should be straightforward.
-
Create POWL query for specific user (not self)
Hello All,
was wondering if anyone had an idea on how to create a POWL query for a specific user. Even the low level method in class CL_POWL_QUERY_ACCESSOR seem to assume that you either are creating an administrator query for any/everyone or just for yourself.
One option is to create multiple queries (for each selection criteria that I want) and assign these directly to user (rather than the role) in the config - but that's config that I'd need to transport up - for what is essentially user level personalisation.
My strong favourite at the moment is to throw a breakpoint in CL_POWL_QUERY_ACCESSOR and manually change the user name as I save new queries in directly in production - but that's not exactly the cleanest solution.
Surely someone has had a need to actually create queries for users, not just delete them as per program POWL_D01?
Many thanks for any hints and tips
Cheers,
ChrisWell - I should point out that you don't have to transport those user assignment of queries - tables are production maintainable. However, you do have to transport up the query itself - so not ideal.
Oh well - don't think this one has an answer => closing it to open another question.
Cheers,
Chris -
Collection Management for SAP 4.7 version
Hi experts,
I would like to know if there is an add-on or something similar to Collection Management (FSCM) for SAP 4.7 Version.
Thanks in advance.
RaulCollections management is a different module. It can work with 4.7, ECC5 or ECC6. If you are currently on 4.7, you can still use collections management, but you have to follow installation option for 4.7.
It can be installed on the same system on if you using ECC6, otherwise it is installed on different systems, and linked through ALE.
Regards
Fisayo -
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 -
Program Workspace for Specific Acrobat Reader Version
I am using LC ES 8.0.
Is there a way to program Workspace to use a specific version of Reader? I want it to open Acrobat Reader version 8 or higher.
We have a few problems with some other older software that several hundred users are using and it requires them to use Acrobat Standard v6. I want to push Reader 8 to everyone and can specify that Standard or Pro are default if available but I want to make Workspace specifically use Reader version 8 or higher.
Does anyone know if this can be done programatically in Workspace?
Thanks,
JohnOnce way to do it is if the process you are invoking uses the Render PDF Form, or a custom Render process that includes the renderPDFForm operation (from the Forms service), you can change a setting using the Acrobat Version property to Acrobat and Adobe Reader 8 or later.
You can get more details about the renderPDFForm operation and the Acrobat Version property at http://livedocs.adobe.com/livecycle/8.2/wb_help/000614.html.
Hope that helps! -
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 HoedtSomething like this:
WHERE DisplayName LIKE '%Application Virtulization%' AND Version = '5.0.10107.0 '
This will require both values to be true. -
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.PSSee
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 -
SCCM 2007 query for workstations with client status 1 and o
Hi everybody,
I would like to write a sql query which gives me workstations with status 1 if the client is installed and active and 0 if the client is not active.Any help please?
Thank you.
Regards,
LebalboHere you go.
Select * from v_r_system R
where R.client0 =1 and R.active0=0
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
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 ithi 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
Maybe you are looking for
-
Any ideas on how to either merge 2 accounts in to one or how to transfer apps from one account to another?
-
Disk Utility says everything's fine, but Install disk doesn't find my internal drive as a possible destination. When I startup with Command + S, I get a looping "cannot mount errno = 19" message. Problem started when I used Tech Tool Pro 6 to "de-fra
-
File Open By Another Application
I am trying to use an application to Sync files on 2 different IMACs across a Local Network. Many of the Syncs are failing because the Application claims that Files are exclusively Opened by another Application. I know that this is NOT true since I h
-
How to Deactive the Organisation and Group in BP tcode?
Hi All, In CRM, Tcode BP, In the Application Toolbar Objects like Person,Organisation and Group. In that How to Deactive the Organistaion and Group.and the Person should be active only. Please let me know it.
-
Replacement for REJECT Statement
Hi Experts, I have used REJECT statement in the code : REJECT< DBTAB>. But when i am doing extended chek, it is giving me an obsolete statement error . Pleae tell me any replacement statement for REJECT statement. Thanks and Best regards, Sahil