Author's posts
Jan 25 2013
ElevateWscript.vbs
‘========================================================================= ‘ ElevateWscript.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/25/2012 ‘ COMPATIBLE: Windows Vista, Server 2008, and Above ‘ COMMENTS: Since the introduction of UAC in Windows, despite being an ‘ administrator you may still need to run a script with elevated ‘ privileges. For example …
Jan 24 2013
Find Email Address in Active Directory
Did you ever try to create a new email address and receive an error message that it already exists? Or did you ever have someone ask who is using an email address? Here are some methods to find the email address: 1 – Active Directory Users and Computers Saved Queries (Server 2003 and up) In …
Jan 23 2013
Identify a Windows VM Disk in vSphere
If you have ever worked with VMWare’s vSphere, I’m sure there has come a time that you needed to modify or remove Windows VM Disk. Sure, it’s a simple enough task, but what if you have multiple disks that are the same size? How can you correctly identify the virtual disk in vSphere? Luckily, it …
Jan 22 2013
ComputerInventory.vbs
‘========================================================================= ‘ ComputerInventory.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/21/2013 ‘ COMPATIBLE: Windows XP+, Server 2003+. If you are using on Windows 2003, ‘ to get correct CPU Physical and Core Counts make sure you have the following ‘ hotfix installed: http://support.microsoft.com/kb/932370 ‘ COMMENTS: Loops through …
Jan 18 2013
PingHost.vbs
‘========================================================================= ‘ PingHost.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/17/2013 ‘ COMMENTS: Pass a hostname or IP to the function and the number of times ‘ you wish to ping the host/IP, and it will return whether it is succesful ‘ or not. ‘ EXAMPLE: Ping …
Jan 18 2013
CheckHTTPStatus.vbs
‘========================================================================= ‘ CheckHTTPStatus.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/17/2013 ‘ COMMENTS: Pass the URL and optionally a username/password to the Function ‘ and it will check the HTTP return status code. ‘ EXAMPLE: Check If Website is Running ‘ Dim strURL: strURL = “http://www.domain.com” ‘ …
Jan 18 2013
CheckServiceRunning.vbs
‘========================================================================= ‘ CheckServiceRunning.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/17/2013 ‘ COMMENTS: Pass the computer/servername to the function and the Service name ‘ and it will return whether the service is running. ‘ EXAMPLE: Check if the Print Spooler is Running ‘ strComputer = “Server” ‘ …
Jan 14 2013
DHCP Message Class
Here is a class I wrote to generate a DHCP message. It’s primary purpose is to send a DHCP message, which can be useful for finding DHCP servers on a network using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; using System.Globalization; using System.Text.RegularExpressions; namespace SigkillDHCP { public class DhcpMessage { …
Jan 02 2013
Recover SA Password on Microsoft SQL Server
Applies to: Microsoft SQL Server 2005, Microsoft SQL Server 2008 Overview If you ever lost a SA password, you may have thought your only option is to reinstall SQL and re-attach to the DB’s. However, SQL server provides a much better disaster recovery method which preserves objects and data in the master DB. Members …