There are actually two different ways of manipulating dates and times. Here is the high-level approach to subtract 30 days from today:
(Get-Date) – (New-Timespan -day 30)
And here is an example that offers a more developer-centric approach:
(Get-Date).AddDays(–30)