Get current date and add 30 days [datetime]$expirationDate = (Get-Date).AddDays(30) # Output Wednesday, September 2, 2020 4:45:19 PMM.
確定! 回上一頁