cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lmiller
Engaged Sweeper II
We are currently looking for a solution to a report we would like to build that would show all computers that have not had a shadow created in 2 weeks.

vssadmin.exe is a tool that displays current volume shadow copy backups. The CMD is "vssadmin list shadows" to list existing volume shadow copies.

Example Output:
"Contents of shadow copy set ID: {bf10e619-2799-4872-8b47-1b1540a417ae}
Contained 1 shadow copies at creation time: 6/27/2017 10:47:04 AM
Shadow Copy ID: {cd4c3179-8c1b-4219-9a53-c517c04c2430}
Original Volume: (C:)\\?\Volume{ed93a48d-c220-4fbf-8737-38f3567c86c0}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy5
Originating Machine: ComputerName.Domain.Com
Service Machine: ComputerName.Domain.Com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ClientAccessibleWriters
Attributes: Persistent, Client-accessible, No auto release, Differential, Auto recovered

Contents of shadow copy set ID: {b8ae394b-abea-43b0-91b7-0ef154732003}
Contained 1 shadow copies at creation time: 7/6/2017 8:47:52 AM
Shadow Copy ID: {8cc52b66-aa03-4a07-b78e-b80af3488075}
Original Volume: (C:)\\?\Volume{ed94a48d-c220-4fbf-8737-38f3567c86c0}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy6
Originating Machine: ComputerName.Domain.Com
Service Machine: ComputerName.Domain.Com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ClientAccessibleWriters
Attributes: Persistent, Client-accessible, No auto release, Differential, Auto recovered"


The creation time is the only line that is truly important, If the date is past 2 weeks ago NO if the date is from the past 2 weeks then YES.

Because this information is no where in the schema is this even possible? Is it possible to add it to the schema, as a custom table?

I am open to any workarounds using scripts or any other means, i just need to report on what machines have and have not had shadow copies made in the past 2 weeks.
0 REPLIES 0

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now