Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify a Shadow Copy Storage AreaContent of Modify a Shadow Copy Storage Area.vbsMD5 Hash: 5319914206D3740A4F8D4F81A1DFBB78 |
||
' Description: Modifies all the shadow copy storage areas on a computer, setting the maximum amount of reserved space to 500,000,000 bytes.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_ShadowStorage") For Each objItem in colItems objItem.MaxSpace = 500000000 objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |