Ying Li at myITforum.com

PowerShell & System Center

Browse by Tags

All Tags » VB Script (RSS)
VB Script to Check on a Particular Patch Status
Here is a little VB Script to query WMI and to check if a particular patch is installed. 'On Error Resume Next strKB = Inputbox ("Enter the KB...
VB Script to Query a Particular Entry in Hosts file on Multiple Machines
Scenario – Some time when you manage multiple servers and you want to verify if a particular entry(SearchString) exists in Hosts File… 'On...
Posted: Dec 10 2007, 09:21 PM by yli628 | with no comments
Filed under:
VB Script to Compare Files on Multiple Servers Report to Excel
This is a VB Script and it is a “make over” of my previous post http://myitforum.com/cs2/blogs/yli628/archive/2007/11/15/vb-script-to-check...
Posted: Dec 06 2007, 07:54 PM by yli628 | with 1 comment(s)
Filed under:
VB Script to check size and modified date for a list of files
Here is a VB script to check file size and modified date aginist a list of files on a list of servers. On Error Resume Next Set oFSO = CreateObject("Scripting...
Posted: Nov 15 2007, 09:53 PM by yli628 | with 1 comment(s)
Filed under:
VB Script to check on McAfee EPO Exclusions
Here is a VB script to check and verify the McAfee On Access Scan Exclusions on multiple machines and write the results to txt files. I am doing VB script...
Posted: Nov 07 2007, 07:28 PM by yli628 | with no comments
Filed under: ,
VB script to assign symantec antivirus parent server to multiple clients based on their default gateway
Here is a VB/WMI script to assign Symantec Antivirus parent server to multiple Clients based on their default gateway. What this script does is to read...
Posted: Mar 12 2007, 11:58 AM by yli628 | with 2 comment(s)
Filed under: ,
VB/WMI script to get IP information (Window 2000/NT)
Here is a VB script to use the Win32_NetworkAdapter class and the DeviceID property (as the netConnectionID property is not available in Windows 2000/NT...
Posted: Mar 07 2007, 12:51 PM by yli628 | with no comments
Filed under:
VB/WMI script to get IP information(without reading registry)
Here is a VB script to use the Win32_NetworkAdapter class and the NetconnectionID property to determine the MAC address of the active network connection...
Posted: Mar 06 2007, 10:39 AM by yli628 | with no comments
Filed under:
VB/WMI script to read remote registry to get IP address information
Here is a VB/WMI script to read remote registry to get IP address information for server. First, it uses WMI to read a string and to determine which network...
Posted: Mar 05 2007, 11:32 AM by yli628 | with 10 comment(s)
Filed under:
To Install DST Patches Remotly on Multiple Servers
We have a lot of “non standard” servers for whatever reasons. In order to facilitate the DST patch push. I put together an Ad Hoc script to...
VB script to get current site code for multiple clients and reasign their site code
Here is a VB script to read clients from a txt file and fetch themto a dictionary and ping test them, get their current site code and reassign their site...
Posted: Feb 05 2007, 03:03 PM by yli628 | with no comments
Filed under: ,
VB script to get Automatic Update Service status and start the service if stopped
One of the pre-requirement to deploy ITMU is that the automatic update service should be set to automatic and should be in started state. Here is a VB...
Posted: Jan 24 2007, 09:24 AM by yli628 | with no comments
Filed under:
VB script to create server patch status report in excel
Here is a VB script to create server patch status report in excel and the report can also be used as server inventory. Please note that the script creates...
VB script to append wbem path and repair SMS client
In our environment, we noticed that SMS Host Agent Service stopped on some of the clients and their cache size is 0. Further investigation revealed that...
Posted: Dec 19 2006, 03:23 PM by yli628 | with no comments
Filed under: