How to Configure and Use a PowerShell Profile

When you open a PowerShell window to perform some work all the aliases, functions and variables you create are only available in your current session.  If you exit the session all these changes are lost.  To retain these changes from session to session you can create a Windows PowerShell profile and customize it.  The profile…

2

How to Start and Save Virtual Machines with PowerShell

I have a Hyper-V lab I run on my laptop (Windows 8.1, dual quad processor, 32G RAM, 2 HDs) that has 7-9 virtual machines (VMs) running.  When I’m done working on my lab I typically SAVE all the running VMs instead of shutting them down.  The next time I need to run the lab I…

0

PowerShell Script to Query UserAccountControl Flags

One of the services I provide as a Premier Field Engineer is performing health and security assessments in a customer’s environment and providing them a detailed report.  Recently I was performing an Offline Assessment for Active Directory Security for a customer and several accounts were flagged that had some non-standard userAccountControl flags set. The user…

1

List of Rollup Updates for Windows 8/8.1 & Windows Server 2012 / 2012 R2

I put this list together for a couple of customers who were asking for the latest Service Pack for these operating systems.  It turns out we don’t have “Service Packs” available but we do have “Update Rollups” available.  As you can see from our official terminology below they are very similar in there purpose. Service…

3

The Best MMC Keyboard shortcut ever!

I was reading an internal email thread today and one of my peers mentioned he used to use a keyboard shortcut that would expand an entire tree in a management console but could not remember what the key combination was.  When I read this I too remembered there used to be a “magic” key but…

3