TechnicallyChris.com

Technical and Personal Ramblings of a Bostonian
  • Home
  • About Chris
  • Donate
  • Contact Chris

Archive

Archive for the ‘Random Code’ Category

Capturing S.M.A.R.T. Hard Disk Data from WMI with AutoIt

September 11th, 2009
5 comments

For those who are unaware, there is a monitoring and reporting systems for modern hard disks known as SMART. I’ll save the explanations for Wikipedia’s S.M.A.R.T. page. Instead of my normal big script example, I’d like to provide you with a snippet that basically just loops over the known data from WMI using AutoIt. You can modify this however you’d like to return error codes if failures are found, write out to logs, etc.

Read more…

Chris Random Code Scripts

Adjusting DCOM Settings via Script

September 8th, 2009
No comments

I was recently tasked with adjusting the DCOM Security Settings (DCOM: Machine Access Restrictions and DCOM: Machine Launch Restrictions) in the local security policy on a number of computers. These can be changed manually by opening the Local Security Policy and browsing to Local Policies and then Security Options, but it needed to be more automated than that and needed to be rolled out to a few hundred Windows XP Computers.

Read more…

Chris Random Code

Updated PingCell Function for Excel

August 23rd, 2009
1 comment

I’ve updated my Microsoft Excel PingCell code that I wrote for this post. The new function returns all results from Win32_PingStatus back to Excel. You can now ping and choose the results you’d like to see returned (example below code). The Win32_PingStatus class is documented on Microsoft’s Website.

Read more…

Chris Random Code Microsoft Office, VBA

Creating an SMS 2003 CCR within Excel

July 6th, 2009
No comments

I created the following function to create Microsoft SMS 2003 Client Configuration Requests from within Excel and dump them all out into a temporary directory for me to copy to the SMS inbox. For those that are unaware, you can “ask” SMS 2003 to remotely install the client by putting a CCR file into the INBOXES\CCR.BOX folder on the SMS Site server.

Read more…

Chris Random Code Microsoft Office, SMS 2003, VBA

How to Ping a Computer from Excel

July 2nd, 2009
1 comment

Oddly enough, I often find myself needing to ping a list of computers from Excel. Usually it’s part of some asset management or software deployment exercise. If it’s a small list, I’ll often do it manually. Medium and larger lists usually warrant some type of batch file hitting the list and I just keep an eye on the results or have them pipe back to a text file. Recently I developed an Excel sub that would do the work for me and then return the results back to a column for me to sort and filter by.

Read more…

Chris Random Code Microsoft Office, VBA

Generating a List of Values in Excel (VBA)

May 8th, 2009
No comments

I frequently find myself needing to create lists of values I have in Excel in one cell. For example, I might get have a column of IDs and I need to create a comma delimited list of them to put into a SQL Query. I have the following function I put in an XLA that loads with Excel to generate these lists.

Read more…

Chris Random Code VBA

RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Sponsored By

RoboForm: Learn more...Read my review of RoboForm here.

Random Posts

  • An Easy Evaluation of Railo
  • RoboForm & RoboForm2Go Product Review
  • Creating an SMS 2003 CCR within Excel
  • How to Ping a Computer from Excel
  • Bush’s Summer Home in Kennebunkport, ME

Tag Cloud

ActiveX Add new tag AJAX AutoIt BlueDragon Bush cfquickdocs ColdFusion Customer Service Database Firefox Flash Flex IIS Internet Explorer Java Lotus Notes Maine McAfee Endpoint Encryption Microsoft Office Mozy MSN Netware Nexus One Notepad++ Online Backup Oracle Photography Poker Railo Redsox RoboForm RoboForm2Go SafeBoot SbAdmCl Scripts Season Tickets SMS 2003 Sports Subversion TimeZones ValueList VBA Vista Windows 7

Categories

  • ColdFusion
  • Firefox
  • Google Nexus One
  • IIS
  • McAfee EE / SafeBoot
  • Microsoft Windows
  • Oracle
  • Random Code
  • Random Technology
  • Sports and Recreation
  • Subversion
  • The Untechnological

Archives

  • January 2010
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • October 2007
  • September 2007
  • August 2007
  • January 2007
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006

Meta

  • Register
  • Log in
PageRank
Top WordPress
Copyright © 2006-2010 TechnicallyChris.com
Theme by mg12. Valid XHTML 1.1 and CSS 3.