Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete the C$ Share from a ComputerContent of Delete the C$ Share from a Computer.vbsMD5 Hash: CF8DA7065455C667419A465B19607D76 |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colShares = objWMIService.ExecQuery _ ("Select * from Win32_Share Where Name = 'C$'") For Each objShare in colShares objShare.Delete Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |