By David Wiseman (Administrator)Created 19 Feb 2008
My Rating:
Vote
Rating:
Not Rated
Views:4952
Downloads:47

List Shadow Copy Settings

Language:  VBScript

Compatibility

Windows XP No Windows 2003 Yes
Windows 2000 No Windows NT No
Vista Unknown Windows 2008 Unknown
Description

Retrieves the shadow copy settings configured on a computer.

Code

Line Numbers: On  Off      Plain Text
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * from Win32_ShadowContext")

For Each objItem in colItems
    Wscript.Echo "Name: " & objItem.Name
    Wscript.Echo "Client accessible: " & objItem.ClientAccessible
    Wscript.Echo "Differential: " & objItem.Differential
    Wscript.Echo "Exposed locally: " & objItem.ExposedLocally
    Wscript.Echo "Exposed remotely: " & objItem.ExposedRemotely
    Wscript.Echo "Hardware assisted: " & objItem.HardwareAssisted
    Wscript.Echo "Imported: " & objItem.Imported
    Wscript.Echo "No auto release: " & objItem.NoAutoRelease
    Wscript.Echo "Not surfaced: " & objItem.NotSurfaced
    Wscript.Echo "No writers: " & objItem.NoWriters
    Wscript.Echo "Persistent: " & objItem.Persistent
    Wscript.Echo "Plex: " & objItem.Plex
    Wscript.Echo "Transportable: " & objItem.Transportable
    Wscript.Echo
Next

 


Got a useful script? Click here to upload!


 

  Post Comment
Order By:  
User Comments
      
Adapta12
Posted On: 2/8/2019 4:53:52 AM

This article I have chosen to understand the value of vb scripts and their list has been updated here. So, we have to follow best essay writing services for further updates and resources of shadow copy settings. All values we are needed to gather some useful soft copy reports.

Lauren Knowles
Posted On: 3/29/2019 12:52:07 PM [Edited 3/29/2019 12:53:11 PM]

Microsoft Windows 7 is running in my laptop. Your program is quite good one but the only problem is that your program is showing compatibility issues on my laptop. I want to check this link right here now and know what are the basic requirements to run this program.

sami
Posted On: 7/24/2019 2:13:01 PM


chizzerpolo
Posted On: 9/10/2019 4:47:39 AM

Reupload ado stunt cars 2 new version.