krutoconsultant.blogg.se

Powershell script to disable user accounts
Powershell script to disable user accounts













powershell script to disable user accounts

All that was missing was the remove group membership.

  • clear the user group membership, all but three groups.
  • find user account(s) past expiration date.
  • powershell script to disable user accounts

    A little birdie told him to run his script by me, which he did! “Dear PowerShell…” You had me at PowerShell… 🙂 Incidentally starting any email with PowerShell is a good way to get my attention. Sup pshhomies? A colleague of mine Martijn Monshouwer was getting his PowerShell on when he ran into a little snag.















    Powershell script to disable user accounts