Tags » PowerShell

Active Directory Stale Account Management

Recently had a client that would like to automate stale account management without investing in a full blown identity management solution. Here is the script I came up with. 211 more words

Out-printer cmdlet

Recently I was asked if you could use PowerShell to print to a specific printer.  I have written posts on how to print to your default printer but had never tried printing to a specific printer.   372 more words


Creating a Table in Word Using PowerShell

In this article, I will be showing you how to build a table in Word using PowerShell.

First we will go ahead and make the initial object creation and open up Word. 1,741 more words


Speaking at Nebraska Code Conference in March

I’ll be speaking at the Nebraska Code Conference in March and I’ll be talking Trend Reporting Using PowerShell and SQL. This will be my first in person speaking gig at a conference so I am both excited and a little nervous about it but definitely looking forward to talking about PowerShell and showing something cool in the process. 39 more words


Exchange 2013: setting diagnostic logging levels the quick way

TL;DR how to set a bunch of logging levels with similar names to a specific level, plus a script that sets *everything* back to the defaults. 746 more words


Delete recent files in Word 2013 with PowerShell!

This Monday one of my clients told me they have problems with a PowerShell script. This script is active on all desktops and runs every morning when the user logs on. 806 more words


PowerShell: change default prompt

Thanks here

Now PS has setup the $profile file in the right location, edit in Notepad:

function Global:prompt {“PS [$Env:username]$PWD`n>”}

Oh yes, this is a new machine… 45 more words