Windows Server – How to Add Disks Performance Tab in Task Manager

Sometimes you might find yourself on a virtual machine or a server with no disk performance monitoring settings under task manager, like the image below...       To enable the disk statistic feature in Windows server, or in any windows OS run the following command in command prompt!   diskperf -y You should now …

MDT – Slipstream Windows Updates into Boot Image with Powershell

The below powershell script will mount your .wim file from your deployment share, to C:\mount (make sure that folder exists). Then it will get updates that you extracted from a Fully updated Windows machine. Those updates can be found in C:\windows\softwaredistribution\ (then copy them to your MDT server so you can slipstream them) . Once you have …

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 …