Enabling system restore, choosing drive and set to a percentage of drive

Trying to modify the cyberdrain script to create restore point or enable system restore if not enabled but want to set to a percentage, some Dells are set to 100% of disk from factory and I’ve had to modify individually. I don’t see a parameter for Enable-ComputerRestore -Drive. Is there another script somewhere?

I use the following PS line in another script (not related to the cyberdrain script that mentioned).

vssadmin resize shadowstorage /for=C: /on=C: /maxsize=10%

2 Likes

I had seen that in another script, just wasn’t sure if that was also relating to the system restore, thanks