Share via


One-Liner: Get Latest Windows Server Technical Preview Image

Recently, I created a new version of my 'Build an Active Directory Forest in Microsoft Azure' script to deploy a test lab for Windows Server Technical Preview. All I did was replace the line that finds the latest Windows Server 2012 R2 image with one that finds the latest Windows Server Technical Preview image. Simple.

In doing so, I thought I might as well blog about a one-liner that lists the latest technical preview image. Here it is in all its splendour:

 

Get-AzureVMImage | Where-Object {$_.ImageName -like "*Windows*Server*Technical*Preview*"} | Format-List ImageFamily,PublishedDate,Description

 

 

Bask in the glory of PowerShell!

 

UPDATE 25/11/2015 - We're now on TP4! Woo!