There are scripts/tool FSLogix has provided before...
# microsoft-fslogix
j
There are scripts/tool FSLogix has provided before and there are also community scripts