((Get-Date).AddMonths(1))
gives me
Saturday, August 25, 2018 3:06:26 AM
(Get-Date -format 'Y')
gives me
July, 2018
How do i get August, 2018 when I run code in the month of July with the output in this form
gives me
Saturday, August 25, 2018 3:06:26 AM
(Get-Date -format 'Y')
gives me
July, 2018
How do i get August, 2018 when I run code in the month of July with the output in this form