WDS + MDT 2013 + Temporary WSUS for seamless offline updates

On my quest for seamlessly integrating MDT + WDS I also wanted to save bandwidth on Windows updates. Normally we would just setup a WSUS server for the domain and that would be it. However I wanted these machines to get updates from the WSUS server BEFORE they join any domain, since I will be …

Powershell – Manipulating objects to pass them along the pipeline

Before getting into this, I'd like to discuss the pipeline a bit. In the pipeline you have to ways of passing objects, by value (typename) or by property name (which is powershell's second try)   For example, let's see what kind of objects get-process creates by piping get-member to it (I use the alias GM) …

How to Force Users in OU to Change Password at Next Logon via Powershell for Active Directory

  My goal is to to force all users in  a certain OU to change their passwords at next login. So let's get started. First I need to get a list of my users accounts. We know we can use get-aduser -filter * to get all the users and their properties, however I only want …

3 Tips To Getting Started With Powershell!

Now I'm just at the beginning of my powershell journey however I've discovered a couple of tricks that really help me solidify my scripts: The first tip is to use "get-command *yourmodule*" The first step in any one of my powershell scripts is first figuring out, what is possible with powershell CMDLETS. This is why I …

Bulk User Creation in Powershell

It seems like the most common way to create users in powershell via the ad module is by using the "import-csv" command and then running a foreach-object on new-aduser. I got the original script from a couple of people on reddit and some blogs on Google. There's not much uniqueness to it besides taking the …

How to create a DFSNfolder with no target in PowerShell

TLDR; to create an empty dfsnfolder you must create a dfsnfolder with a target underneath I spent way too much time banging my head on this one. What I'm trying to do is automate DFS deployments on servers, so naturally I want to create DFSNfolders without targets in them so I can have a fancy-looking structure. The …