Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Use a Script to Determine the Size of a Folder on a Remote ComputerContent of Use a Script to Determine the Size of a Folder on a Remote Computer.vbsMD5 Hash: 94429ED9FBD7749C0AE952414822ACE1 |
||
strComputer = "atl-ws-01"
Set objWMIService = GetObject _ ("winmgmts:" & "!\\" & strComputer & "\root\cimv2") Set colFolders = objWMIService.ExecQuery _ ("Select * from Win32_Directory where Name = " _ & "'c:\\scripts'") For Each objFolder in colFolders Wscript.Echo objFolder.FileSize Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |