Lots of updates!

I’ve been very lazy updating this blog so wanted to get everyone caught up on a few things.

Firstly I’ve posted a lot of new videos to my YouTube channel including creating a new Hyper-V 2012 R2 Playlist which is ordered and will be added to over the next month to accompany my new Mastering Hyper-V 2012 R2 book that will be available in April (http://www.amazon.com/Mastering-Hyper-V-System-Center-Azure/dp/1118828186/ref=sr_1_1?ie=UTF8&qid=1392043470&sr=8-1&keywords=savill+hyper-v). The playlist is available below:

I’m also about to run a Hyper-V Master Class that will build on my book that I’m presenting with Penton and details can be found at http://bit.ly/JZrwdD.

I have a bunch of new articles in Windows IT Pro around DirectAccess, Quality of Service, Hyper-V and more so go check out Windowsitpro.com.

I’ll work harder to keep this updated 🙂

Learn about Work Folders and Workplace Join

Work Folders and Workplace Join are two new features in Windows Server 2012 R2 that enable new capabilities for non-corporate assets giving access to storage and applications in a secure manner. In this video, http://youtu.be/pAZS9UOH14w, I walk through both technologies and show how they are used from Windows 8.1, Windows RT and iOS devices.

New features of Hyper-V video

As the first video of a new series that will accompany my upcoming book, Mastering Hyper-V 2012 R2, I have posted a new video that covers all the main features of Hyper-V from Windows Server 2008 through to Windows Server 2012 R2 with lots of demos. Hope you enjoy it!

Direct link – http://www.youtube.com/watch?v=BAqSUS6UDa4&feature=share&list=UUpIn7ox7j7bH_OFj7tYouOQ

New Storage Spaces in Windows Server 2012 R2 Video

In the video below I whiteboard the new features of Windows Server 2012 R2 Storage Spaces and then perform a full demo using PowerShell in my lab. http://youtu.be/x8KlY-aP9oE

Below is all the code I use.

#Create a storage Space            

#List all disks that can be pooled and output in table format (format-table)            
Get-PhysicalDisk -CanPool $True | ft FriendlyName,OperationalStatus,Size,MediaType            

#Store all physical disks that can be pooled into a variable, $pd            
$pd = (Get-PhysicalDisk -CanPool $True | Where MediaType -NE UnSpecified)            

#Create a new Storage Pool using the disks in variable $pd with a name of My Storage Pool            
New-StoragePool -PhysicalDisks $pd –StorageSubSystemFriendlyName “Storage Spaces*” -FriendlyName “My Storage Pool”            
#View the disks in the Storage Pool just created            
Get-StoragePool -FriendlyName "My Storage Pool" | Get-PhysicalDisk | Select FriendlyName, MediaType            

#Create two tiers in the Storage Pool created. One for SSD disks and one for HDD disks            
$ssd_Tier = New-StorageTier -StoragePoolFriendlyName "My Storage Pool" -FriendlyName SSD_Tier -MediaType SSD            
$hdd_Tier = New-StorageTier -StoragePoolFriendlyName "My Storage Pool" -FriendlyName HDD_Tier -MediaType HDD            

#New-VirtualDisk –SNtoragePoolFriendlyName “My Storage Pool” –ResiliencySettingName Simple –Size 10TB –Provisioningtype Thin –FriendlyName “Documents”             
#Create a new virtual disk in the pool with a name of TieredSpace using the SSD (50GB) and HDD (300GB) tiers            
$vd1 = New-VirtualDisk -StoragePoolFriendlyName "My Storage Pool" -FriendlyName TieredSpace -StorageTiers @($ssd_tier, $hdd_tier) -StorageTierSizes @(50GB, 300GB) -ResiliencySettingName Mirror -WriteCacheSize 1GB   #cannot also specify -size if using tiers and also cannot use provisioning type, e.g. Thin            

#Online, initialize and create volume            
Get-Disk | Where-Object BusType -Eq Spaces | Where-Object PartitionStyle –Eq "RAW"| Initialize-Disk -PartitionStyle GPT            
Get-Disk | Where-Object IsOffline –Eq $True | Set-Disk –IsOffline $False            
Get-Disk | Where-Object BusType -Eq Spaces | New-Partition -UseMaximumSize -DriveLetter M | Format-Volume -FileSystem NTFS -NewFileSystemLabel "Mirror" -Confirm:$False            
New-Item M:Important -ItemType directory            
Copy-Item C:TestTest.jpg M:Important            

#Pin an item to SSD tier            
Set-FileStorageTier –FilePath M:Importanttest.jpg -DesiredStorageTier ($vd1 | Get-StorageTier –MediaType SSD)            
#Force an optimization to move the data to SSD tier just pinned            
Optimize-Volume –DriveLetter M –TierOptimize #forces the move of pinned files now. Normally this happens in the background on schedule 1am by default            

#View the automated optimization task            
Get-ScheduledTask | Where-Object TaskPath -EQ "MicrosoftWindowsStorage Tiers Management" | fl            

#To force a media type on disks (useful in virtual environments) but not normally needed. Here for Info ONLY            
Get-PhysicalDisk | Where Size -EQ 267630149632 | Set-PhysicalDisk -MediaType SSD            
Get-PhysicalDisk | Where Size -EQ 536065605632 | Set-PhysicalDisk -MediaType HDD            
Get-PhysicalDisk | Where MediaType -EQ UnSpecified | Set-PhysicalDisk -MediaType HDD            

#Remove all the virtual disks and Storage Space Created above. Only use this if want to delete in preparation for demoing again            
Remove-Partition -DriveLetter M -Confirm:$False            
Get-Disk | Where-Object BusType -Eq Spaces | Clear-Disk -RemoveData -Confirm:$False            
Remove-VirtualDisk -FriendlyName TieredSpace -Confirm:$False            
Remove-StorageTier -FriendlyName SSD_Tier -Confirm:$False            
Remove-StorageTier -FriendlyName HDD_Tier -Confirm:$False            
Remove-StoragePool -FriendlyName "My Storage Pool" -Confirm:$False

See my Cloud interview for Technet Radio

I had the chance to sit down and talk to Microsoft’s Matt Hester about various cloud topics and its available at http://channel9.msdn.com/Shows/TechNet+Radio/TechNet-Radio-Part-6-Infrastructure-as-a-Service-Windows-Azure-and-System-Center-2012. It was a lot of fun.