OWSUG.ca

Welcome to Ottawa's Windows Server User Group Community!
Welcome to OWSUG.ca Sign in | Join | Help
in Search

Browse by Tags

All Tags » Code   (RSS)
Showing page 1 of 29 (282 total posts)
  • Find PCs like TTDRxxxACxxWxxx

    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___"
    Posted to SMS (Weblog) by Anonymous on September 3, 2010
  • PCs without IE 8

    select Distinct     CS.Name0 from     dbo.v_GS_COMPUTER_SYSTEM CS     left outer join dbo.v_GS_SoftwareFile SF on CS.ResourceID = SF.ResourceID where     SF.ResourceID not in (select Distinct ResourceID from dbo.v_GS_SoftwareFile where FileName = ...
    Posted to SMS (Weblog) by Anonymous on July 19, 2010
  • Dynamic Subnet Collection

    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 ...
    Posted to SMS (Weblog) by Anonymous on July 16, 2010
  • Range Like

    select * from dbo.v_GS_NETWORK_ADAPTER_CONFIGUR where IPAddress0 IS not NULL and IPAddress0 like '192.168.[1-9].%'
    Posted to SMS (Weblog) by Anonymous on July 8, 2010
  • Missing Brackets

    SELECT DISTINCT     SYS.Netbios_Name0,     fcm.SiteCode,     ROUND(CONVERT (FLOAT ,LDISK.FreeSpace0) / 1024, 2) AS FreeSpace0,     ROUND (CONVERT (FLOAT, PROC1.MaxClockSpeed0), -2)/ 1000 AS 'Processor (GHz)',     ROUND (ROUND(CONVERT (FLOAT ...
    Posted to SMS (Weblog) by Anonymous on July 8, 2010
  • SMSUG.ca Forums

    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 ...
    Posted to SMS (Weblog) by Anonymous on July 1, 2010
  • Find the collections which does'nt have members

    select     C.Collectionid,     C.Name from     dbo.v_Collection C Where     C.Collectionid not in (Select Collectionid from dbo.v_FullCollectionMembership)
    Posted to SMS (Weblog) by Anonymous on July 1, 2010
  • List of Disabled Programs

    SELECT  [AdvertisementID]       ,[AdvertisementName] ,[ProgramFlags]       ,[PackageID]       ,[ProgramName]       ,[CollectionID]       ,[PresentTime]       ...
    Posted to SMS (Weblog) by Anonymous on June 23, 2010
  • List of user with X

    Select distinct     TopConsoleUser0 from     dbo.v_Add_Remove_Programs ARP     Join dbo.v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP SCUM on ARP.ResourceId = SCUM.ResourceID Where     ARP.DisplayName0 = 'Update for Windows Server 2003 (KB923845)'
    Posted to SMS (Weblog) by Anonymous on June 21, 2010
  • List of Random PCs by Condition

    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 ...
    Posted to SMS (Weblog) by Anonymous on June 16, 2010
1 2 3 4 5 Next > ... Last »
Powered by Community Server, by Telligent Systems