Mar 28 2021 06:57 AM
Hi PowerShell Folks,
Hope you're doing great.
I have a requirement list of folders with devices IP name such 192.168.1.100, 192.168.1.101 and with each devices IP another folder created based on the month name Jan, Feb, Mar and so on. On each month there is log file is created.
Now the condition is go and collect previous month log files from each device and last month of the logs to be sent in archive folder in another location.
please advise how to achieve this.
I managed to get previous month but I dunno how to put it in right commands to get the output.
Mar 28 2021 06:58 AM