How do I get the last day of the month with PowerShell?

green

Here’s how to programmatically get the last day of last month in PowerShell:

 

To get the last day of this month, this will work:

 green

Leave a Reply

Your email address will not be published. Required fields are marked *