For the steps to change the Tombstone Lifetime in PowerShell, read this section of this guide - Change the Active Directory Tombstone Lifetime Attribute with PowerShell (link opens in the same window).