title: Powershell - Where LastLogonDate is over 90 days from today
body: <p>I'm looking to use the Search-ADAccount cmdlet to get all users where the LastLogonDate is over 90 days from today's date.  This script is to be ran each day and the requirements are to use Search-ADAccount and LastLogonDate that is over 90 days from today's date.  I know there are other ways to get the same info, but that's what I've been asked for from the team.</p>
  
  <p>I pretty much just don't know how to do the math part on LastLogonDate but any sample scripts would be awesome. </p>
  
  <p>Thanks!</p>