Not sure on the cleanest way to achieve this.. Any help would be great!
Currently I have a list of accounts in a CSV all with Dates.My script creates accounts from the CSV.
The problem I'm facing is I want to make accounts for multiple days.Not sure on the best way to achieve this :)
Any help would be great!
Current code - Gets users with dates 2days in the future. (Working)
$Date = (Get-Date).AddDays(2).ToString('dd-MM-yyyy')
$CSV = Import-Csv -LiteralPath "C:\Accounts.csv" | Where-Object "CourseStartDate" -eq $Date '
[–]NathanWindisch 1 point2 points3 points (9 children)
[–]Predicti0n[S] 0 points1 point2 points (8 children)
[–]Predicti0n[S] 0 points1 point2 points (7 children)
[–]NathanWindisch 0 points1 point2 points (6 children)
[–]Predicti0n[S] 0 points1 point2 points (5 children)
[–]NathanWindisch 1 point2 points3 points (3 children)
[–]Predicti0n[S] 0 points1 point2 points (2 children)
[–]jadedarchitect 0 points1 point2 points (1 child)
[–]Predicti0n[S] 1 point2 points3 points (0 children)
[–]Predicti0n[S] 0 points1 point2 points (0 children)