title: Add a set number of days to an expression in PowerShell
body: <p>I have the following script and I want to be able to add 270 days to the commented out Password Expiration expression, is this possible and how?  I would also like to be able to create another column that can show the difference between today's date and the expiration date.</p>
  
  <pre><code>import-module activedirectory
  Get-ADUser -Filter * -Properties * | 
  sort-object -property SamAccountName |  
  Format-Table -property `
                          @{Name="Logon Name";Expression={$_.SamAccountName}},
                          @{Name="First Name";Expression={$_.givenName}},
                          @{Name="Initials";Expression={$_.Initials}},
                          @{Name="Last Name";Expression={$_.SN}},
                          @{Name="Email Address";Expression={$_.EmailAddress}},
                          @{Name="Password Last Set";Expression={$_.PasswordLastSet}},
                          ##@{Name="Password Expiration";Expression={$_.PasswordLastSet}},
                          @{Name="Last Logon";Expression={$_.LastLogonDate}}`
                          -AutoSize | 
                          Out-File C:\ADUsers.txt
  </code></pre>