Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a Shadow CopyContent of Create a Shadow Copy.vbsMD5 Hash: BCE037AB9864214F54507D075B06251C |
||
' Description: Creates a client-accessible shadow copy for drive C.
Const VOLUME = "C:\" Const CONTEXT = "ClientAccessible" strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objShadowStorage = objWMIService.Get("Win32_ShadowCopy") errResult = objShadowStorage.Create(VOLUME, CONTEXT, strShadowID) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |