Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

search for and change ownership of network files based on disabled ad accounts

$
0
0

Hi all

 

i was hoping some one could help.

im currently tasked with AD cleanup and i need to change file/folder ownership before deleting disabled user accounts.

with the help of the big 'G' i was able to get the file/folder owners to csv.

now im needing to change the ownership of the disabled account file/folders.

what im looking for is a way to search for files based on the disabled users in AD and then only change those owners.

 

any help would be great as im only starting out with powershell.

 

thanks in advance

 

mike


Viewing all articles
Browse latest Browse all 6937

Trending Articles