Alan's Blog

"Yeah. I wrote a script that will do that."

Menu
  • About My Blog
Menu

Fun with XLSX and DOCX files

Posted on April 13, 2011April 13, 2011 by Alan

Office 2007 introduced the new X format: xlsx, docx, pptx, etc.  The files are generally much smaller than the previous format.  Why?  The old formats were binary, and the new formats are archived XML files.  (Yes, this is the X in DocX).  You can take a peek at the file structure by renaming a 2007/2010 Office…

Read more

Install Critical Patches Now

Posted on April 2, 2011March 9, 2015 by Alan

A very nice fellow from across the pond wrote me to ask whether my Remote Windows Update HTA could be modified to run on a list of machines.  I told him that it was on my list of things to do, but until that project gets completed that I could come up with something that…

Read more

A (Mostly) Random Password Generator for Help Desk

Posted on March 14, 2011July 2, 2011 by Alan

When the help desk resets a user’s password, password randomness often suffers.  The RandomPW.vbs script generates a temporary password and puts dumps it into notepad.   Update:  This is not a random password in the technical programming or FIPS sense of the word.  The script does not permit Zero or caplital letter O and makes some other readablity changes.  The…

Read more

Chrome is the most secure browser (today)

Posted on March 10, 2011March 9, 2015 by Alan

“Safari fell in the blink of an eye, while Chrome emerged unscathed from its third consecutive Pwn2Own hacking contest. At face value, it seems that we should simply avoid using Apple’s Web browser, and everyone should use Google Chrome. But, it’s not quite that simple, and there are some other lessons to be learned from…

Read more

Remote Ping using WMI

Posted on February 8, 2011February 8, 2011 by Alan

One of the interesting things you can do with WMI is to capture ping information between two computers from a third computer without opening a remote command shell (using something like PSExec). I wrote RemotePing.vbs in 2005 and recently validated from a Windows 7 computer querying a remote XP computer.  It can be run interactively, or by using…

Read more

Programatically Uninstall Outlook Patch KB2412171

Posted on January 21, 2011December 25, 2021 by Alan

The January 10, 2011 patch described at KB2412171 often causes Outlook to crash.    The uninstall is problematic because the name of the patch in the registry is dependent on the version of Outlook.  Microsoft tier 3 support gave us the following advice for a command line: %windir%\System32\msiexec.exe /package <Office 2007 product code> /uninstall <patch code…

Read more

Email a Shortcut

Posted on December 29, 2010December 29, 2010 by Alan

I often will drag a internet shortcut to my desktop to look at later.  To send it to other people I create a shortcut to URLMail.vbs, then drag and drop the shortcut onto it.  It works with Windows XP through Windows 7, and supports both IE and FireFox shortcut.  I originally used this when IE…

Read more

Website Security Check – Unmask Parasites

Posted on December 22, 2010December 22, 2010 by Alan

www.unmaskparasites.com has a Website Security Check to “unmask parasites”. Free and recommended.

Read more

Aldi data breach shows payment terminal holes

Posted on December 20, 2010February 25, 2024 by Alan

Aldi data breach shows payment terminal holes – Computerworld This affected my local Aldi’s store. Replace your cash card if you might be affected.  The payment terminal was replaced by one that collected user data.  This is similar to ATM skimming. Tags: skimming

Read more

Vbscript to Get Program Associated with File Extension

Posted on December 17, 2010March 9, 2015 by Alan

Sometimes I want to the the program associated with a file extension.  This turns out to be a little trickier than I expected in Vbscript.  I take a shortcut in OpensWith.vbs by shelling out and running the ASSOC command to get a starting point for my registry query.  The script runs interactively or you can drag…

Read more
  • Previous
  • 1
  • …
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • 42
  • Next

Search

Please Note

All the scripts are saved as .txt files. Newer files have a “View Script” button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use “Save Target As”. Rename file from Name_ext.txt to Name.ext.

To see a full post after searching, please click on the title.

PowerShell Scripts were written with version 3 or later.

https connections are supported.

All new users accounts must be approved, as are comments. Please be patient.  If you find a post error or a script which doesn’t work as expected, I appreciate being notified.  My email is my first name at the domain name, and you are welcome to contact me that way.

Tags

1E ACLS Active Directory ActiveDirectory ADSI Advanced Functions Audit Change Administrator Password COMObject Computer Groups DateTime Desktop DNS Excel FileScriptingObject Forms General GPO GPS Group Policy Hacks ISE Lockout logons NAV740 Nessus OU OU permissions Outlook Pick Folder Power PowerShell Powershell Scriptlets RDP SCCM schedule reboot Scripting Security Shell.Application user information VBA Windows Update WMI WordPress WPF

Categories

akaplan.com

  • Back to Home Page

Archives

Scripting Sites

  • A Big Pile of Small Things
  • Adam, the Automator
  • Art of the DBA
  • Ashley McGlone
  • Boe Prox
  • Carlo Mancini
  • DexterPOSH
  • Doug Finke
  • Jaap Brasser's Blog
  • JeffOps The Scripting Dutchman
  • Jonathan Medd's Blog
  • Keith Hill's Blog
  • LazyWinAdmin
  • Nana Lakshmanan
  • PowerShell Magazine
  • PowerShell Team Blog
  • PowerShell.org
  • PwrShell.net
  • Richard Siddaway's Blog
  • Ryan Yates' Blog
  • Skatterbrainz
  • The Lonely Administrator

SQL Site

  • Art of the DBA

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 Alan's Blog | Theme by SuperbThemes

Terms and Conditions - Privacy Policy