Browse by Tags

All Tags » By Request (RSS)

By Request Script To Send Service Display Name And Path Name To A Text File

This By Request VBS script will send service display names and paths to a text file. VBS Script: strComputer = InputBox ( "Enter Machine Name" ) Const ForAppending = 8 Set objFSO = CreateObject...
Posted by dhite | with no comments
Filed under:

By Request Script To Retrieve A Remote Machines Registry Install Date Timestamp

This By Request VBS script will allow you to enter a remote machine name or a local machine name to retrieve the registries install or rebuild date. VBS Script: strComputer = InputBox ( "Enter Machine...
Posted by dhite | with no comments
Filed under:

By Request Script Get Owner Of An OU

This by request script will allow you to retrieve the owner or the NT Security Descriptor of an Organization Unit (OU) . VBS Script: Set objContainer = GetObject( "LDAP://OU = OuName,dc=Domain,dc...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Show Mapped Drives For A Specified Machine

This VBS script will allow you to enter a remote machine name into an input dialog box. The script will then read the device ID for each assigned provider and will show you the mapped drive letter and...
Posted by dhite | with no comments
Filed under:

VBS Script To Perform An Nslookup Request And Open The Results In A Dialog Box

This by request VBS script will perform an NsLookup request for a remote machine and open the results in a dialog box for easier reading. VBS Script: strComputer = InputBox ( "Enter Machine Name"...
Posted by dhite | with no comments
Filed under:

VBS Script To Send IP Configuration Information To Text File And Display It

This By Request VBS script will allow you to get your local machines IP configuration (IpConfig /All) information and send to a text file called IpConfigResults.Txt. The file will then be opened and displayed...
Posted by dhite | with no comments
Filed under:

By Request Script To Retrieve A Remote Machines Domain Role

This By Request VBS Script will allow you to retrieve the domain role for a specified machine name. VBS Script: strComputer = InputBox ( "Enter Machine Name" ) Set objWMIService = GetObject(...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Trap Error Numbers And Their Equivalent HEX Value

This By Request VBS script was created as an example of how you can trap or see both the error number and its Hex equivalent for a specified error. I also added the Error description as well. VBS Script...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Get A Specified Client Machines Resource ID

This By Request VBS script will allow you to retrieve the Resource ID for a specified Resource name. VBS Script: strComputer = InputBox( "Enter Site Server Name" ) strSiteCode = InputBox( "Enter...
Posted by dhite | with no comments
Filed under:

Disabling The Windows XP Firewall On A Local Machine

This By Request VBS script will allow you to disable the Windows XP firewall on a local machine via a Group Policy or thorough a logon script. Disable The Local Windows XP Firewall: Set objFirewall = CreateObject...
Posted by dhite | with no comments
Filed under:

VBS Script To Open Microsoft System Information Applet On A Remote Machine

This By Request VBS script will allow you to open the Microsoft System Information applet on a remote machine taken from an input dialog box. This script is based on a previous By Request VBS post listed...
Posted by dhite | with no comments
Filed under:

VBS Script To Open A Remote Clients CcmSetup Folder

This by request VBS script will allow you to enter a remote client machine name and will open the clients CcmSetup directory folder. VBS Script: strcomputer = InputBox ( "Enter Client Machine Name"...
Posted by dhite | with no comments
Filed under:

Script To Get A Local Machines Adapter Link Speed

This By Request VBS script will allow you to see your local machines Adapter Link Speed. VBS Script: strComputer = "." Set objWMIService = GetObject( "winmgmts:\\" & strComputer...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Count Bad DDRs And Bad Mifs And Send To Excel

This By Request VBS script will allow you to hard code a Universal Naming Convention (UNC) path to your Bad DDRs and Bad Mifs directory folders and count the number of root files in each and send the results...
Posted by dhite | with no comments
Filed under:

VBS Script To Return The Full User Name Of A Specified Logon Name

This By Request VBS Script will allow you to enter a Domain name and a logon user name into input dialog boxes and will return the users full name. VBS Script: strDomain = InputBox ( "Enter Domain...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Use The Registry To Track SMS Software Installs

Here you will find scripts that can be added to your existing VBS install scripts to get you started tracking your SMS advertised software installs. First you need to create the repository on your SMS...
Posted by dhite | with no comments
Filed under:

VBS Script To Count Items In A Specified Outlook Folder

This By Request VBS script will allow you to get a count of how many items are in a specified Outlook folder on the local machine. VBS Script: Const olFolderDeletedItems = 3 Const olFolderOutbox = 4 Const...
Posted by dhite | with no comments
Filed under:

VBS Script To Cancel All Active Print Jobs On A Local Machine

This By Request Vbs script will cancel all of the active print jobs on the computer from which the script is executed on. VBS Script: strComputer = "LocalHost" Set objWMIService = GetObject(...
Posted by dhite | with no comments
Filed under:

By Request Script To Show How Many Days Are Left In The Year

This VBS script will echo back the Day number of the year and how many days are remaining or left in the year. VBS Script: DateTime = Date MsgBox "Today Is Day Number: " & (Day( Date )) MsgBox...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Retrieve A Remote Machines Time Zone Name

This VBS script will allow you to enter a remote machine name into an input dialog box and will return the specified machines Daylight (DST) and Standard time zone setting. VBS Script: strComputer = InputBox...
Posted by dhite | with no comments
Filed under:

By Request Script To List Home Share Files Accessed Today

This By Request script is a script that I was asked to modify to use “Today” as a date instead of a hard coded date such as 12-25-07. VBS Script: dtDate = Now() strSearchFolder = "H:\"...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Count Items From A WMI Class

Here you will find two VBS script to show you how to count specified WMI class items. The first VBS script will count and display the number of services that are stopped and then will count and display...
Posted by dhite | with no comments
Filed under:

By Request Script To Retrieve WMI Information For A Remote Machine

This By Request VBS script will allow you to enter a remote machine name and will then retrieve the machines WMI information including its WMI ersion, Database directory, Installation directory, Logs directory...
Posted by dhite | with no comments
Filed under:

By Request Script To Verify If Outlook Pst Files Are Stored On A Remote Machine

Question: Users are to have Outlook files on their home disk and not on their PC. Can you show a script how to see if the file is on the PC. Then we want to know where it is. - Kahdir S Reply: There are...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Return A Remote Machines Operating System And Version

This By Request VBS script will retrieve a remote machines operating system version or Caption name and display the Machine name and Caption on the same message box line. VBS Script: strComputer = InputBox...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To List All Vista Machines In Active Directory

This By Request VBS script will allow you to enter an Active Directory (AD) domain name into an input dialog box and will search AD for all machines that have Windows Vista installed as detected in AD...
Posted by dhite | with no comments
Filed under:

By Request VBS Script To Retrieve A Remote Workstations Group Policies

This by request VBS script will allow you to enter a remote workstation name and will return the Group Policy (GPO) objects in use for the machine. VBS Script: On Error Resume Next strComputer = InputBox...
Posted by dhite | 1 comment(s)
Filed under:

VBS Script To Verify If A WMI Namespace Exists Using Error Handling Message Boxes

This By Request VBS script can be used to verify if a specified WMI Namespace exists on a remote machine such as the SMS Namespace. To use the script at the first dialog box enter the remote machine name...
Posted by dhite | with no comments
Filed under:

By Request Script To Create A SkpSwi.Dat File

This By Request script was created in response to a users request for a simple way to create a SkpSwi.Dat file as mentioned in my previous post found below using a script. VBS Script: strFileName = "SkpSwi...
Posted by dhite | with no comments
Filed under:

By Request Script To Copy Internet Favorites To Your Domain Users Home Share

This by request script will copy your favorites from your user profile to your defined home share. The request was to delete the favorites directory before copying the locally stored favorites however...
Posted by dhite | with no comments
Filed under:
More Posts Next page »