![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete All Shadow Copy Storage Areas
|
||
' Description: Deletes all the shadow copy storage areas on a computer.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * From Win32_ShadowStorage") For Each objItem in colItems objItem.Delete_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |