Partition rollover based on partition size
Hi all,
Recently, I had a request for Vault Store Partitions to be closed based on how large the file system is. EV doesn't do this out of the box but it does allow you to close using the Start-PartitionRollover powershell command. Attached is a script I've created to close any open partitions that exceed a given size limit. It also sends an email off to the administrator to let them know all about it.
The batch file attached will invoke the script while running with the EVShell console. You will need to change the directory in the batch file if you have installed EV in a non-default location. There are also a lot of variable at the very top of the script which need to be changed for each implementation. They are all commented but feel free to comment below if you need help with them.
The script required .NET 4.0 or higher and PowerShell 2.0 or higher on the EV server.
Happy partition rolling-over!