Skip to content

query based collection problem

Featured Replies

Hi

 

I need to build a collection that gathers all 2008 R2 servers that were installed in the last two weeks.

 

I wrote a query, but it doesn't work.

 

I will be happy for any kind of assistance

 

I SELECT SMS_R_System.ResourceID,
SMS_R_System.Name,
SMS_R_System.ResourceDomainORWorkgroup,
SMS_G_System_OPERATING_SYSTEM.InstallDate
FROM
SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on
SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId
WHERE

(DATEPART(year,SMS_G_System_OPERATING_SYSTEM.InstallDate) > 2010)

 

10x

troy


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.