Skip to content

Data not accurate - Maybe 'bleed over data' from other users when using a group #8

@EJ-W

Description

@EJ-W

I hate to asking so much, but I must have something wrong with my implementation when using a group to define the evaluated users. The data in the report and the email actions taken are not accurate. I'm not sure why. However, my knowledge of Powershell is quite limited.

I have attached the script that I have customized to use with a group:
PasswordChangeNotification.ps1.txt

I have also attached the CSV report. (w/ names changed)
2020-7-16-PasswordLog.xlsx

Notice that the "DaysToExpire" and "ExipiresOnDate" are exactly the same for a number of users. That is not accurate. (like the data is bleeding over to more than one user in array.)

The only user that the data seems to be accurate for is the 1st one. (However the hour is off by 1 hour)

Please review and advise.

Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions