Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

NEW Query like Disk Part Number

  • Thread starter Thread starter Pros
  • Start date Start date
  • Replies Replies 6
  • Views Views 3K

Pros

New Member
Messages
4
Solutions
1
Reaction score
1
Points
1
Hello
I would need your help to request under SCCM.
I wanted to display the list of laptops whose SSD Part Number is for example "XXXXX-XXX-XXX".
Would you have an idea of a solution to help me?

Thanks in advance for your help
 
Solution
You need to create a join for the two views you are querying. Try this:
select SMS_R_System.Name, SMS_G_System_DISK.Model from SMS_R_System inner join SMS_G_System_DISK on SMS_G_System_DISK.ResourceID = SMS_R_System.ResourceId where SMS_G_System_DISK.Model = "SSDPR-PX500-512-80" order by SMS_R_System.Name
Hello,
Thank you very much, it's working very well.
Sincerely
Hello
I would need your help to request under SCCM.
I wanted to display the list of laptops whose SSD Part Number is for example "XXXXX-XXX-XXX".
Would you have an idea of a solution to help me?

Thanks in advance for your help
Where in SCCM do you see the part number of the SSD? Or where on the computer do you see this p[art number?
 
Where in SCCM do you see the part number of the SSD? Or where on the computer do you see this p[art number?
Hello,
Thank you for your feedback,
When I look at the disk information with "msinfo32", I can't find the Part number, no the Manufacturer.
On the other hand I have the Model of the disk which is the same for some laptops.
Would it be possible to have the list of laptops having the same disk model?
Thank you in advance,
with regards to this matter,

1684503590326.png
 
Hello,
Thank you for your feedback,
When I look at the disk information with "msinfo32", I can't find the Part number, no the Manufacturer.
On the other hand I have the Model of the disk which is the same for some laptops.
Would it be possible to have the list of laptops having the same disk model?
Thank you in advance,
with regards to this matter,

View attachment 5264
Have you looked at the data within Resource Explorer for SCCM?
 
Have you looked at the data within Resource Explorer for SCCM?
Good evening,
The disk model is in the Resource Explorer data.
But I don't see how to build the query to list the names of the machines with model SSDPR-PX500-512-80
--- Can I have a query like this
Select SMS_R_System.Name, SMS_R_System_Disk_Drive.Model
From SMS_R_System
Where SMS_RSystem_Disk_Drive.Model = "SSDPR-PX500-512-80"
Order by SMS_R_System.Name

ThanksCapture.JPG
 
Last edited:
You need to create a join for the two views you are querying. Try this:
select SMS_R_System.Name, SMS_G_System_DISK.Model from SMS_R_System inner join SMS_G_System_DISK on SMS_G_System_DISK.ResourceID = SMS_R_System.ResourceId where SMS_G_System_DISK.Model = "SSDPR-PX500-512-80" order by SMS_R_System.Name
 
You need to create a join for the two views you are querying. Try this:
select SMS_R_System.Name, SMS_G_System_DISK.Model from SMS_R_System inner join SMS_G_System_DISK on SMS_G_System_DISK.ResourceID = SMS_R_System.ResourceId where SMS_G_System_DISK.Model = "SSDPR-PX500-512-80" order by SMS_R_System.Name
Hello,
Thank you very much, it's working very well.
Sincerely
 
Solution

Forum statistics

Threads
7,135
Messages
27,868
Members
18,159
Latest member
jordysmits
Back
Top