PowerShell: Create Exchange Mailboxes for AD Users

Recently I needed to write a PowerShell script to create Exchange mailboxes for new users in Active Directory. The script needed to create the mailboxes, use different databases, retention policies, and take users from several Organisational Units along with users in child OUs. This script is also available to download from the Microsoft TechNet Script Center. Update: … Continue reading PowerShell: Create Exchange Mailboxes for AD Users

PowerShell: Automated WSUS Maintenance

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 … Continue reading PowerShell: Automated WSUS Maintenance

PowerShell: Virtual Machine Backup for Hyper-V

In a previous post I wrote about my Hyper-V backup script, powered by PowerShell. This post will serve as a change log and documentation page, as my previous post was more about how the script is written as a reference. My Hyper-V backup script is also available to download from the TechNet Gallery. When run … Continue reading PowerShell: Virtual Machine Backup for Hyper-V

Delving into disabling OneDrive

UPDATE 11/07/2017: After testing the method below on Windows 10 1703, I found that it wasn't working as it did with 1607. To disable One Drive and remove the One Drive folder from the Navigation Pane of Windows Explorer, enable the group policy item: Computer Configuration/Policies/Administrative Templates/Windows Components/OneDrive/Prevent Usage of OneDrive for file storage and … Continue reading Delving into disabling OneDrive

PowerShell: Image Factory for Microsoft Deployment Toolkit and Hyper-V

In a previous post I wrote about my Image Factory for MDT, powered by Hyper-V and PowerShell. This post will serve as a change log and documentation page, as my previous post was more about how the script is written as a reference. My Image Factory script is also available to download from the TechNet … Continue reading PowerShell: Image Factory for Microsoft Deployment Toolkit and Hyper-V

PXE Booting with WDS for UEFI and BIOS Devices

In a previous post (PXE Booting for Microsoft Deployment Toolkit) I mentioned that I would talk about how to set up PXE to deal with VLANs. To be honest I forgot all about it until someone on twitter reminded me - many thanks for the reminder! A lot of what I'm going to go through in … Continue reading PXE Booting with WDS for UEFI and BIOS Devices

Some Notes On Building a Windows 10 1703 (Creators Update) Reference Image with Microsoft Deployment Toolkit

With the release of Windows 10 1703 (Creators Update) ISO on the Volume Licensing Service Center, I've recently been looking into using the "final" code with Microsoft Deployment Toolkit (MDT) to build reference images and discover what issues are present. This post is a round up of differences and issues I've found with building and … Continue reading Some Notes On Building a Windows 10 1703 (Creators Update) Reference Image with Microsoft Deployment Toolkit

WSUS Configuration Tweaks For Improving Performance

I've been dealing with some issues with a WSUS server recently. It services around 1000 devices, mostly Windows 10 with some Windows 7, Windows Server 2016/2012 R2/2012 and 2008 R2. The WSUS server provided updates for a variety of Microsoft products including Office, Exchange, SQL, Visual Studio, Windows Defender to name a few. The WSUS … Continue reading WSUS Configuration Tweaks For Improving Performance

PowerShell: Removing UWP apps from Windows 10 1607/1703

Update 03/08/2017: I've re-written much of this post to answer some questions that have come up and to help clarify the process. Thanks to Jörgen Nilsson over at ccmexec.com, with his original post that inspired me to write this one. When deploying Windows 10 1607/1703 you might want to remove some of the included UWP apps … Continue reading PowerShell: Removing UWP apps from Windows 10 1607/1703

PowerShell: Hyper-V Backup With Checkpoints/Snapshots

UPDATE: This post is old and intended as a walk through on how my original script was put together for those wishing to learn PowerShell. For the finished, up-to-date script please check out this post and you can download the script from my TechNet profile. I previously posted a quick and dirty Hyper-V backup script … Continue reading PowerShell: Hyper-V Backup With Checkpoints/Snapshots