Garth Jones at myITforum.com
What is on his mind, aka Does he have a mind?
Browse by Tags
All Tags
»
WQL
»
Code
(
RSS
)
70-089
70-236
70-293
70-294
70-298
70-299
70-400
70-401
70-402
70-403
70-431
70-432
70-536
70-620
70-622
70-624
70-630
70-631
70-635
70-640
70-642
70-643
70-646
70-647
70-649
70-652
70-669
70-671
70-672
70-673
A+
App-v
Canada
CM07
CM12
ConfigMGr
CTE Solutions
DevTeach
DPM
Drinks
EnergizeIT
Enhansoft
exam
Flowcharts
Fun Links
Hyper-v
Joke
MCSE
MDT
Med-V
Microsoft
Microsoft Canada
MMS
mobile
MOM
MS Support
MSN
MVP
myITforum
OpsMgr
Ottawa
Podcast
Poll
Q&A
Rant
Redgate
RobertHalf
Samsung
SCCM
SCE
SCMDM
SCSM
SCVMM
Sector
self-study
SMS
SMS Installer
SMSI
SoftGrid
SP2
SQL
Study group
System Center
TechDays Canada
Training
UK
User Groups
Virtual Server
Vista
VMRCPlus
vNext
VS 2008
Windows 2003
Windows 2008
Windows 7
Windows XP
Zune
How to find PCs within an AD container
Saturday, March 16, 2013 9:02 AM
If you need to find all PC within an AD container (not an OU). Use this WQL query to find them. For more details about this request, see the full forum post. http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/9358cee7-75a5-4595-80a3-4016ea572f1b select SMS_R_System.Name, SMS_R_System.LastLogonUserName from SMS_R_System where SMS_R_System...
Read More...
WMI query for C: with more than 1GB of HD space.
Friday, January 11, 2013 8:39 AM
For full details, please see http://social.technet.microsoft.com/Forums/en-US/configmgrgeneral/thread/fde395bb-a4b6-4347-b1b6-8c180c3f7f46 This is a WMI WQL query and NOT and native CM07 / CM12 WQL query. select Size from Win32_LogicalDisk Where DeviceId="C:" and size > 1073741824
Read More...
Query for computers with single partition
Saturday, June 09, 2012 5:53 PM
For full details see: http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/4d84e5f9-fd48-4fcb-b490-d0a64052aa08 select SMS_R_System.Name from SMS_R_System where SMS_R_System.ResourceId not in ( select SMS_G_System_PARTITION.ResourceId from SMS_G_System_PARTITION where SMS_G_System_PARTITION.DeviceID = " Disk #0, Partition #1 "...
Read More...
How to exclude a collection from sccm collection query
Saturday, May 19, 2012 10:47 AM
For full details, see this forums post. http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/75288b97-1fe6-4634-a20a-54091bba8d91 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_SoftwareFile...
Read More...
SCCM Query for Memory & CPU
Tuesday, January 31, 2012 9:18 PM
See Forum post for fill details. select distinct SMS_R_System.Name, SMS_R_System.Client, SMS_R_System.LastLogonUserName, SMS_R_System.ADSiteName, SMS_G_System_X86_PC_MEMORY.TotalPhysicalMemory, SMS_G_System_PROCESSOR.NormSpeed from SMS_R_System inner join SMS_G_System_X86_PC_MEMORY on SMS_G_System_X86_PC_MEMORY.ResourceID = SMS_R_System.ResourceId left join SMS_G_System_PROCESSOR...
Read More...
Collection by Gateway
Friday, March 18, 2011 3:28 PM
select SMS_R_System.Name from SMS_R_System inner join SMS_G_System_NETWORK_ADAPTER_CONFIGURATION on SMS_G_System_NETWORK_ADAPTER_CONFIGURATION.ResourceId = SMS_R_System.ResourceId where SMS_G_System_NETWORK_ADAPTER_CONFIGURATION.DefaultIPGateway = "192.168.1.1"
Read More...
Client Version and model
Wednesday, March 09, 2011 10:39 PM
select SMS_R_System.Name, SMS_R_System.ResourceId, SMS_G_System_COMPUTER_SYSTEM.Manufacturer, SMS_G_System_COMPUTER_SYSTEM.Model from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System...
Read More...
List PCs within a Security Group
Sunday, February 13, 2011 10:39 PM
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 where SMS_R_System...
Read More...
PCs without SEP
Tuesday, January 11, 2011 6:52 PM
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 where SMS_R_System.ResourceId not in (select SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID from SMS_G_System_ADD_REMOVE_PROGRAMS where SMS_G_System_ADD_REMOVE_PROGRAMS...
Read More...
PC with app x but exclude PC y
Friday, October 08, 2010 6:27 AM
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 where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like...
Read More...
Find PCs like TTDRxxxACxxWxxx
Friday, September 03, 2010 11:01 AM
select * from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Name like "TTDR___AC__W___"
Read More...
Dynamic Subnet Collection
Friday, July 16, 2010 12:02 PM
select * from SMS_R_System inner join SMS_G_System_NETWORK_ADAPTER_CONFIGURATION on SMS_G_System_NETWORK_ADAPTER_CONFIGURATION.ResourceId = SMS_R_System.ResourceId where SMS_G_System_NETWORK_ADAPTER_CONFIGURATION.IPAddress like "192.168.1.%"
Read More...
SMSUG.ca Forums
Thursday, July 01, 2010 9:44 AM
I have decided that the forums on www.SMSUG.ca are not being used and due to some SPAMMER populating the membership list, I have closed them down. This is a good thing as it means I will arrange for the site to be convert to a blog only site. With the new site will come a new look a feel. (wait for it) If you are looking for ConfigMgr , SCCM , SMS, v.Next...
Read More...
List of Random PCs by Condition
Wednesday, June 16, 2010 5:56 PM
Here is a nice and simple way to get a list of Random PCs. Create a query based on what you want to find, in my example Windows XP. Then add to the query a condition to find those with a “3” as the last character in the SMSID, Since the SMSID/GUID is HEX this will give you ~1/16 of all of those PCs. select ...
Read More...
Routers?
Wednesday, January 20, 2010 9:45 AM
This might NOT list all routers in your environment, and it will has lots of false positives too. Of the 7 device marked as a router, only 3 are right, the remaining 4 are false positives. In my test lab it found 3 out of 7, Routers /Switches. Plus it lists · 1 WS, that is not acting like routers...
Read More...
More Posts
Next page »
Go
This Blog
Home
Contact
Links
About
Tags
70-089
70-236
70-293
70-294
70-298
70-299
70-400
70-401
70-402
70-403
70-431
70-536
70-620
70-622
70-624
70-630
70-631
70-635
70-640
70-642
70-643
70-646
70-647
70-649
70-652
70-659
70-669
70-671
70-672
70-673
A+
App-v
Canada
CM07
CM12
Code
ConfigMGr
CTE Solutions
DevTeach
DPM
Drinks
EnergizeIT
Enhansoft
exam
Flowcharts
Fun Links
Hyper-v
Joke
MCSE
MDT
Med-V
Microsoft
Microsoft Canada
MMS
MOM
MS Support
MSN
MVP
myITforum
OpsMgr
Ottawa
Ottawa Windows Server User Group
Podcast
Poll
Q&A
Q&A
Rant
RobertHalf
Samsung
SCCM
SCE
SCMDM
SCSM
SCVMM
self-study
SMS
SMS Installer
SMSI
SoftGrid
SP2
SQL
ssrs
Study group
System Center
TechDays Canada
Training
UK
User group
User Groups
Virtual Server
Vista
VMRCPlus
vNext
VS 2008
Windows 2003
Windows 2008
Windows 7
Windows XP
WQL
Zune
Navigation
Site Home
Home
Bloggers List
Forums
Blogs
Photos
Downloads
Donate
Archives
April 2013 (5)
March 2013 (2)
February 2013 (4)
January 2013 (4)
December 2012 (8)
November 2012 (3)
July 2012 (4)
June 2012 (2)
May 2012 (6)
April 2012 (3)
March 2012 (15)
February 2012 (7)
January 2012 (7)
December 2011 (2)
November 2011 (5)
October 2011 (4)
September 2011 (4)
August 2011 (5)
July 2011 (7)
June 2011 (1)
May 2011 (3)
April 2011 (3)
March 2011 (8)
February 2011 (7)
January 2011 (8)
December 2010 (3)
November 2010 (5)
October 2010 (7)
September 2010 (6)
August 2010 (2)
July 2010 (8)
June 2010 (12)
May 2010 (4)
April 2010 (1)
March 2010 (13)
February 2010 (6)
January 2010 (3)
December 2009 (11)
November 2009 (10)
October 2009 (8)
September 2009 (11)
August 2009 (4)
July 2009 (6)
June 2009 (13)
May 2009 (15)
April 2009 (6)
March 2009 (7)
February 2009 (26)
January 2009 (11)
December 2008 (13)
November 2008 (15)
October 2008 (31)
September 2008 (59)
August 2008 (72)
July 2008 (57)
June 2008 (46)
May 2008 (39)
April 2008 (4)
January 2007 (1)
November 2006 (5)
October 2006 (5)
May 2006 (5)
April 2006 (3)
March 2006 (7)
February 2006 (4)
January 2006 (8)
December 2005 (2)
November 2005 (1)
October 2005 (5)
September 2005 (6)
August 2005 (9)
April 2005 (1)
March 2005 (1)
February 2005 (2)
January 2005 (10)
December 2004 (26)
Syndication
RSS
Atom
Comments RSS