Skip to main content

VSS Resize

Summary​

This script resets the vssadmin size and updates the table with the latest size details.

Sample Run​

Sample Run

Dependencies​

Variables​

NameDescription
psoutThis contains the complete PowerShell output of the vssadmin storage resize state.

User Parameters​

NameExampleRequiredDescription
Drives1False1 - Resize all drives with vssadmin; leave blank or put anything for only C: Drive.
MaxSize10FalseSet the vss max size for the volume in a fixed specific size.
MaxSizePercent10FalseSet the vss max size for the volume as a percentage of its total size.

Process​

This script resets the vssadmin size and updates the table with the latest size details using PowerShell. It resizes the storage based on user parameters and validates the scope and resize success.

Output​

  • Script log
  • Table
  • Dataview

Changelog​

2025-04-10​

  • Initial version of the document