So that would require the change like below?
Option Explicit
Dim strFileName, objFSO, objFile, strComputerName, objComputer
Dim arrComputerNames(), intCount
' Specify the TXT file containing the list of computer names
strFileName = "C:\path\to\computers.txt"
Is there anything else I need to...
So I have Windows Server 2003 AD with a lot of machines and PowerShell is not an option.
I run dsquery computer comand to give me devices inctive for 104 and removed some that could not be removed due to still being in use.
I am trying to come up with a VBScript to disable the devices in a TXT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.