sunhux
asked on
PowerShell command / script to get previous month
Q1:
I could get the current month with the command
below. How do I get the previous month ie March ?
PS C:\Users\Art> Get-Date -format MMMM
April
Q2:
Likewise, how do I get previous & next day's date?
I'm on Win 2008 R2 and Windows 7 Profsnl : guess
it's the same PowerShell for both
I could get the current month with the command
below. How do I get the previous month ie March ?
PS C:\Users\Art> Get-Date -format MMMM
April
Q2:
Likewise, how do I get previous & next day's date?
I'm on Win 2008 R2 and Windows 7 Profsnl : guess
it's the same PowerShell for both
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER