Hyper-V Virtual Machine Backup Utility (Update Version 4.1)

Get it from the PowerShell Gallery or TechNet Gallery Today I’ve released an update to my Hyper-V Backup Utility PowerShell script. Version 4.1 adds zip file creation and the ability to keep a history of Virtual Machine backups. These new features are included along with the ability to backup Virtual Machines using the built-in Hyper-V…

PowerShell: Control and Automate the Licensing of Office 365 Users

If you are familiar with my other PowerShell scripts this isn’t as complete or polished as them, but it get’s the job done, and that’s all we can really ask for right? Let’s say it’s in early beta. The purpose of this script is to automate the process of setting the location and Office 365…

PowerShell: Hyper-V Virtual Machine Backup Utility (Version 4.2)

In a previous post I wrote about the first version of my Hyper-V backup PowerShell script. This post will serve as a change log and documentation page, as the previous post was more about how the script is written as a reference for those wanting to learn PowerShell. My Hyper-V Backup Utility PowerShell script can be…

PowerShell: Create Active Directory Users In Bulk (Update 1.5)

For years I’ve had a AD user import VBS script as part of my toolkit, I thought it was about time to update it to PowerShell as well as add a few new features. My AD User Creation script can be downloaded from the Microsoft TechNet Script Cente. Features and Requirements This script requires the Active Directory…

PowerShell: Automated WSUS Maintenance (Update 1.6)

In a previous post I wrote about some configuration tweaks to improve the performance of your WSUS server. I also included a short PowerShell script to automate the WSUS maintenance process. I’ve improved the script somewhat since then, adding more configuration options. This post will serve as a change log and documentation page. My WSUS…

PowerShell: Windows Server Status Monitor (Update 1.3)

I wanted to create a script to generate a status report from a list of servers. It needed to highlight any metrics that were outside of a customization threshold visually and be able to e-mail the report or run continuously and be a rudimentary system monitor. Based on a script from Bhavik Solanki (on TechNet) and…

PowerShell: E-mail Anywhere

In my previous scripts I’ve included a function to send log files to an on-premises Exchange server. I’ve now put together an example script to improve this function to send emails to external e-mail providers, for example: Office 365, Outlook.com or GMail.com. I’ve added this code to all of my previous scripts both here on…

Upgrading PowerShell and Windows Remote Management

At the time of writing (18/07/2017) the latest PowerShell available is PowerShell 5.1 which is a part of Windows 10 1607 and Windows Server 2016. To find which version of PowerShell you have, type this command into PowerShell: To upgrade PowerShell, you’ll need the latest Windows Remote Management for your version of Windows. You might…