Link to home
Start Free TrialLog in
Avatar of John Davies
John DaviesFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Powershell to Expire Groups of people

Password expiration by groups of Username.

What I am looking for is a powershell script or help with one that I can run and expire a group of people from a csv file. So for example

People with the surname beginning with A to E then F to I and so on......

I would populate the spreasheet but just need to expire people passwords in groups rather than expiring everyone in one hit. The reason i am wanting this I am implementing a new password policy and as we have over 2500 users I would rather expire them and have them change the password on next login in chunks on a weekely basis.

Thanks

John
ASKER CERTIFIED SOLUTION
Avatar of J0rtIT
J0rtIT
Flag of Venezuela, Bolivarian Republic of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of John Davies

ASKER

Sorry Jose, forgot to mention that this is a pure cloud office 365 solution, no on prem or hybrid.