Please could you update this script to also allow the disk space usage to be set as a percentage
I think the command is:
vssadmin resize shadowstorage /for=C: /on=C: /maxsize=20%