Yeah you can with powershell script
Give a try and let us know for further queries
Cheers @Gunasekaran_Kandasamy