We help IT Professionals succeed at work.

Powershell script to disable bulk amount of AD accounts

Indie101
Indie101 asked
on
55 Views
Last Modified: 2018-11-21
Script to disable computer accounts in AD

I have a list of computers last logged onto, have this in csv format

What is the best way to disable these machines in bulk, do i need to have the one column samaccount?
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2019
Most Valuable Expert 2018
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
Thanks will try that out and confirm :)

Author

Commented:
Thats great thanks :)