Robert Vance

Author's posts

HOWTO: Easily add Powershell code to a WordPress Blog Post using Windows Live Writer

Have you ever wanted to publish Powershell code (or other languages) directly to a WordPress blog such that it automatically is syntax colored and line numbered?  Now you can!  Here’s how: Download Syntax Highlighter Evolved WordPress Plugin and install it on your Worpress installation (https://wordpress.org/plugins/syntaxhighlighter/) Install Source Code plugin for Windows Live Writer (http://sourcecodeplugin.codeplex.com/) From …

Continue reading

HOWTO: Remove inherited permissions from Symantec Enterprise Vault Archive

First let me say that I take back everything nice I ever said about Enterprise Vault.  It’s a Symantec product and that heritage shines through. I was tasked with removing two permissions from an EV archive for  let’s call him “A User”.  Simple, right?  Ha! I connected to our EV Server and opened the Admin …

Continue reading

HOWTO: Auto add revision number to script with Subversion

As I have gotten increasingly comfortable with subversion and have started to develop a work flow, I ran into a problem. Most of the scripts I have added to my repository thus far have been self-contained scripts that’d I’d typically run straight from the repository folder. But I recently ran into a use case where …

Continue reading

HOWTO: Implement Source Version Control for Powershell Scripts with PowerGUI

As my knowledge of Powershell has increased, so too has the length and complexity of the scripts I create. My current record for example is a 387 line script. How did I keep track of all of the changes in a script of this length? Not very well I’m afraid. I knew there had to …

Continue reading

HOWTO: Color Code Sections for Powershell scripts in PowerGUI

Note: The following was tested with PowerGUI 3.8.0.129. As I have gotten more confident with Powershell, my scripts have grown longer and longer. I use PowerGUI as my IDE of choice and I have been quite happy with it. One of the problems I’ve increasingly run into however is that as the code grows in …

Continue reading

Run scripts requiring a password without storing the password in plain text

  What do you do when you need to provide a password in a batch file or to a legacy command line application but don’t want to store the password in plain text inside of the file? As usual, it’s Powershell to the rescue.   The basic steps are: Create a text file that contains …

Continue reading

Whatever it takes

During a recent swim, I happened to overhear a conversation between two other people in the pool that was distinctly Korean. I introduced myself and we ended up having a great chat that was probably 70% Korean. After that encounter, I came to the realization that I’ve learned enough of the language that I’m right …

Continue reading

Powershell as a problem solver

Last year I watched an absolutely fantastic two day training session on Powershell now available here: http://www.microsoftvirtualacademy.com/training-courses/getting-started-with-powershell-3-0-jump-start Among the many things I learned from that training, one quote from one of the trainers really stuck out with me. Jeffrey Snover, the inventor of Powershell said “Powershell is designed to solve business problems.” The take away …

Continue reading

HOWTO: Add ISCSI Support to Macrium Reflect Recovery Disk

This HOWTO describes how to create a bootable USB recovery CD for Macrium Reflect. This in itself isn’t terribly useful in itself as the Reflect Software offers an excellent GUI based wizard to accomplish this. However, the default Windows PE environment it creates does not include ISCSI support which means if your backups are stored …

Continue reading

HOWTO: Compare your weight to famous celebrities

This is going to be one of the more unusual HOWTOs I’m likely ever to produce for this site. It all started earlier today when I asked myself a seemingly simple question: What is the average weight of famous celebrities that are roughly my height and age? I was curious because I was wondering how …

Continue reading