I have a Windows 2012 Filecluster. As I am during a fileserver migration, I need to delete all files and folders from the department share. Although I am domain admin, I don't have access to all folders / files.
I can take ownership manually and grant myself access to the files. As there is a large amount of files, I would like to run this automated e.g. using a batch or powershell.
How can I get access to all files on my fileshare?