none
WMI Filter based on the age of the machine?

    Question

  • Hi,

    I'd like to create a GPO for WSUS that only applies to new machines...  

    Would it be possible to create a WMI filter using install date + 7 /14 /days?

    Thanks
    Tuesday, September 29, 2015 6:40 PM

All replies

  • This seems to work, but I'm not expert enough with WMI capabilities to take it past this point

    SELECT InstallDate FROM Win32_OperatingSystem WHERE InstallDate < 20150806


    Don

    Tuesday, September 29, 2015 9:38 PM
  • > SELECT InstallDate FROM Win32_OperatingSystem WHERE InstallDate < 20150806
     
    Does not work - InstallDate is not a number, but a datetime variant, and
    WMI comparisons do not like datetime very much :)
     

    Greetings/Grüße, Martin

    Mal ein gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me - coke bottle design refreshment (-:
    Wednesday, September 30, 2015 3:35 PM
  • > Would it be possible to create a WMI filter using install date + 7 /14
    > /days?
     
    Not to my knowledge - but it might be helpful if you describe what you
    want to achieve with that :)
     

    Greetings/Grüße, Martin

    Mal ein gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me - coke bottle design refreshment (-:
    Wednesday, September 30, 2015 3:36 PM
  • I'd like the 'brand new' machines to check WSUS a lot more frequently than the 'older' machines.

    Currently we have WMI filters for IP addresses directing clients to the local WSUS servers.

    I was hoping we could do something like…

                Win32_OperatingSystem WHERE InstallDate    >    7 days or 1 month ....

    But I've been unable to work it out... yet.

    Thanks for your help.

    Rob.


    Friday, October 02, 2015 2:05 PM
  • > I'd like the 'brand new' machines to check WSUS a lot more frequently
    > than the 'older' machines.
     
    Why? After the first update, both will have the same updates.
     

    Greetings/Grüße, Martin

    Mal ein gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me - coke bottle design refreshment (-:
    Friday, October 02, 2015 2:27 PM
  • After the 3rd or 4th Update maybe...   that's why i wanted a differnt policy for the first few weeks.

    Never mind - Thanks for your time.


    • Edited by RobScarffe Friday, October 16, 2015 7:57 AM
    Thursday, October 15, 2015 4:16 PM