Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete All Shadow Copies on a ComputerContent of Delete All Shadow Copies on a Computer.vbsMD5 Hash: 9656CCFEA3D8C4343E769FC2F3C084EE |
||
' Description: Deletes all the shadow copies stored on a server.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") ) Set colItems = objWMIService.ExecQuery("Select * From Win32_ShadowCopy") For Each objItem in colItems objItem.Delete_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |