@Community Alums 

the script I shared should also work

Did you try that?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader