none
GetInactiveComputers

    Question

  • Hi All,

    I have used the Power Shell Script to identify the inactive computer objects due to an AD celeanup, but if being into a large organization you would need to have the possibility of putting canonical path of a specific OU containing computer objects.

    Con someone please suggest the modification of the below line to making the script run for the specific OU only. I have already tried putting the path of the OU object, but the script still scans the whole domain.

    $domain = "domain.mydom.com"  

    Friday, April 21, 2017 10:04 AM

Answers

All replies