[mssms] RE: PowerShell help

2017-01-26 Thread Murray, Mike
Thanks all! From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Jeffery Juett Sent: Thursday, January 26, 2017 11:57 AM To: mssms@lists.myitforum.com Subject: [mssms] RE: PowerShell help Mike, Change your if statement to: If (((Get-Date) -

[mssms] RE: PowerShell help

2017-01-26 Thread Mote, Todd
You're not actually getting the days property in the IF ((Get-Date) - $datdate).days -gt 2 Works for me. Todd From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Murray, Mike Sent: Thursday, January 26, 2017 12:56 PM To:

[mssms] PowerShell help

2017-01-26 Thread Murray, Mike
I'm trying to write a script that will read the SCEP definition date from registry, compare it to the current time, and if it's older than 2 days run an action. In my code below, it always returns "Old". What am I missing? $data = Get-ItemProperty "HKLM:\Software\Microsoft\Windows

[mssms] RE: PowerShell help

2017-01-26 Thread Murray, Mike
To clarify, no matter what I follow "-gt" with, it always returns "Old". My test machine has defs that are 2 days old, but if I set the number to 5, it still says old. From: Murray, Mike Sent: Thursday, January 26, 2017 10:56 AM To: mssms@lists.myitforum.com Subject: PowerShell help I'm

Re: [mssms] RE: SCEP right-click scan with

2017-01-26 Thread Adam Juelich
Defender only pertains to Windows 10. The standard SCEP Client applies to Win7/8/8.1 The 'not superseded' should only keep the latest definitions and the newer client versions would only apply if your versions are older. At least that seems to be how things are working for me. On Thu, Jan 26,

[mssms] RE: SCEP right-click scan with

2017-01-26 Thread Heaton, Joseph@Wildlife
Does the change to Defender apply to Win 7 as well, or just Win10? From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Wendell Hutchison Sent: Tuesday, January 24, 2017 10:17 AM To: mssms@lists.myitforum.com Subject: [mssms] RE: SCEP right-click scan with

RE: [mssms] RE: SCEP right-click scan with

2017-01-26 Thread Heaton, Joseph@Wildlife
Added Updates. This morning I come in and the SUG is Invalid, and has no members. So, I manual deployment of the .409 update didn’t work (the test machines show up as Compliant, but are still .407) and I changed the ADR a little too late, apparently. From: listsad...@lists.myitforum.com