PowerShell module for the Vssadmin utility
| VssAdmin Command | Wrapper Function | Status | 
|---|---|---|
| add shadowstorage | Add-VssShadowStorage | Complete | 
| create shadow | New-VssShadowCopy | Complete | 
| delete shadows | Remove-VssShadowCopy | Complete | 
| list providers | Get-VssProvider | Complete | 
| list shadows | Get-VssShadowCopy | Complete | 
| list shadowstorage | Get-VssShadowStorage | Complete | 
| list volumes | Get-VssVolume | Complete | 
| list writers | Get-VssWriter | Complete | 
| resize shadowstorage | Resize-VssShadowStorage | Complete | 
Get all VSS writers not in the VssWriterState.Stable state
PS> Get-VssWriter -Exclude StableGet writers in a failed state and restart the host Windows Service
PS> Get-VssWriter | Where-Object {$_.State -like 'Failed*'} | Get-VssWriterService -Unique | Restart-Service -ForceUpdate the MaxSize for a ShadowCopy storage association to 5%
PS> Get-VssShadowStorage -ForVolume C: | Resize-VssShadowStorage -NewSize 5 -As %Update the MaxSize to UNBOUNDED
PS> Get-VssShadowStorage -ForVolume C: | Resize-VssShadowStorage -UnboundedList all ShadowCopies created by a specified Provider
PS> Get-VssShadowCopy -Provider 'Microsoft Software Shadow Copy provider 1.0'- 
Download the latest version of the module files here.
 - 
Make sure to unblock the archive before extracting the contents.
 - 
Save the module files to one of the directories in your
$env:PSModulePathvariable 

