North East Bytes - a Microsoft technology usergroup in North East England.

Tweets

Powered by Squarespace

Tuesday
May082012

Windows Server 2012 Virtual Labs

When it releases later this year, Windows Server 2012 will bring a stack of exciting new features and enhancements, like the fantastic multi-server management features of the new Server Manager, and of course PowerShell v3.0!

If you want to get ahead of the curve on Server 2012, then there's no better way that digging in and getting your hands dirty, although not everyone has a whole load of spare hardware to setup a test lab, and even if you do, then it's sometimes difficult to know where to start, especially since pre-release software tends to be lacking some of the documentation that you might want to really explore a feature in depth.

To that end, Microsoft have produced a load of Windows Server "8" Beta Virtual Labs (put together before the Windows Server 2012 name was announced). These are self-contained modules focusing on the following:

 

  • Active Directory Deployment and Management Enhancements
  • Configuring a Highly Available iSCSI Target
  • Configuring Hyper-V over Highly Available SMB Storage
  • Implementing Storage Pools and Storage Spaces
  • Introduction to Windows PowerShell Fundamentals
  • What's New in Windows PowerShell 3.0
  • Managing Branch Offices
  • Managing Network Infrastructure
  • Managing Your Network Infrastructure with IP Address Management
  • Managing Windows Server "8" with Server Manager and Windows PowerShell 3.0
  • Online Backup Service
  • Using Dynamic Addess Control to Automatically and Centrally Secure Data

 

In addition, you might want to check out some of the Resources for IT Professionals that Microsoft have published in relation to the TechEd conference that will start in a month in Orlando.

(Thanks to my friend @Alexandair for both of those links)

Friday
Apr272012

Free ebook - Secrets of PowerShell Remoting

You wouldn't have had to read too much of this blog to know that I've regularly recommended PowerShell books by Don Jones and Tobias Weltner. They've announced the availability of a new free ebook that they've co-authored, called Secrets of PowerShell Remoting.

Remoting is one of the most powerful features of PowerShell, but it's not necessarily the simplest area to understand. In Windows Server 2012, PowerShell remoting is enabled by default, so now is a good time to get up to speed.

Head over to powershellbooks.com for the download links.

Tuesday
Apr242012

SkyDrive users - act now to keep 25GB for free

Microsoft have announced changes to Windows Live SkyDrive, introducing paid tiers of storage and reducing the free offering down to 7GB. Existing users can (for a limited time) login and hit a button to keep the 25GB that you currently have, for free.

Go and do that now: skydrive.live.com

Once you've done that, you might want to download the long-awated SkyDrive client applications that have been released for Mac and PC.

Wednesday
Apr182012

#UKITCamp PowerShell On-Ramp

At the IT Pro Camps in Edinburgh this week, we're mentioning how PowerShell can help you with the managment of our three topic areas: Hyper-V, Private Clouds and Consumerisation (supporting BYOD scenarios). Now is a great time to get started with PowerShell, especially with its increased prevalence in Windows Server 2012 and some of the great improvements in PowerShell 3.0.

For those just getting started, I'm encouraging everyone to get familiar with the following four cmdlets in particular:

Get-Command finds all the commands (including aliases) and functions that are available to you in the current shell.
Get-Member tells you about the objects on the pipeline which the previous cmdlet has output. eg. Get-Process | Get-Member
Get-Help provides help about cmdlets and features of PowerShell (in v1 and 2 this is all in the box; with PowerShell 3.0, you need to Update-Help).
Get-PSDrive tells you about the drives that PowerShell is exposing; not just the file system, but the registry and others.

Given those four cmdlets, you can get a long way by yourself, just through experimenation. Don't forget to use the -whatif parameter (or -confirm) on any cmdlet that might change something.
eg. Get-Process | Where {$_.name -match "^s"} | Stop-Process -whatif

In PowerShell 3.0, you can benefit a lot from using the Show-Command UI in the PowerShell ISE (Integrated Scripting Environment) to help you with the parameters required to achieve a task. As a beginner to PowerShell, you can also learn a lot by looking at other people's scripts; the Microsoft Script Explorer for Windows PowerShell is a useful tool to find scripts and other great resources from online repositories.

There's no better way to learn PowerShell than to write some scripts that solve real problems, and there are a number of pre-canned problems that you can take a shot at in the Windows PowerShell Scripting Games. You're too late to enter this year's competition, but you can still try out the challenges, and once you've given it a try, you can see the expert solutions from some of the top members of the PowerShell Community.

I suggest that while you're getting used to PowerShell, you print a couple of quick reference guides (or cheat sheets) and keep them close to hand, or pinned up beside your monitor. You can also download a great free ebook called Mastering PowerShell from PowerShell.com, where you'll also find a bunch of other great resources (including another free ebook on PowerShell remoting, for when you've got to grips with the basics).

If you like to go and buy a book, then the beginner's book of choice is Don Jones' Learn Windows PowerShell in a Month of Lunches.

Thursday
Mar292012

Windows To Go

One of my favourite enterprise features that Microsoft is adding to Windows 8 is Windows To Go, which lets you provision a desktop on a USB flash drive and take it with you to boot on any hardware that meets the usual Windows 8 requirements. An IT department can build a desktop image, with applications installed (perhaps some of the intranet apps that you wouldn't let your staff install on their home PC), and even domain join it before passing it to someone who needs to travel light, or who wants to be able to do some sensitive work on their personal laptop (the one that's full of spyware and crap because their kids have had the ability to install anything - you know the one - it's got so many browser toolbars that any web page is only an inch or two tall!). You can even secure it with BitLocker, without requiring a TPM chip in the hardware that's going to host it.

Speaking of that host hardware, as I said, so long as it would support Windows 8 and will boot from USB, then you're good to go. You won't have access to any internal drives in that hardware (unless you're also the administrator of that machine), but you will be able to use additional devices that you've plugged into its other USB ports, for example. When you use Windows To Go on a host PC for the first time, it's going to do some plug'n'play detection (which may take a few minutes), then continue to boot. Every new bit of hardware is going to be stored in a profile, so the next time you use the same host it's going to boot much faster (about as fast as you would expect from an internal drive).

Windows To Go isn't, as a recent TechTarget mailing so cleverly pointed out, the answer to all your "Consumerisation of IT" dreams - they astutely observed that Windows To Go won't run on an iPad. Running Windows from a USB flash drive on a device that has no USB port is apparently beyond Microsoft - shame on them! ;-)

As an additional security measure, if you need to exit in a hurry (I like to imagine myself using Windows To Go behind enemy lines while I'm on some kind of secret mission - I don't know why!), then you can just pull the drive out and the machine will freeze. If you don't push it back into the same USB port within 60 seconds then the machine will reboot. If you knocked it out by accident (because the guy entering the internet cafe wasn't actually a SPECTRE assassin hot on your heels), then you can plug it back in and carry on - if you were playing a video at the time, for example, it'll take under a second to continue playback.

So to recap, as the IT guy, you can give somebody a Windows 8 instance (which you trust) that they can boot on their own hardware (which you don't trust!), and you can continue to manage that instance like you would any other domain computer. You can give them software that you wouldn't let them install on an untrusted computer without all the expense of giving them a trusted computer that you've configured. Just as importantly, your user can do important work stuff on the shiny new laptop that they bought for themselves without having to give it to you so that you can configure it and take away their admin rights. It's a fantastic step in the right direction where "Bring Your Own Device/Computer" (BYOD/BYOC) is concerned.

With Windows 8 just in Consumer Preview (and Windows Server 8 in Beta) at present, all the details aren't fully released about this feature yet, so some of this may not be 100% acurate at the time you read this:

You need at least a 32GB (my test image has Windows 8, Office 2010, Windows Live Essentials and a bunch of files on it and it still has 15GB free). The drive should be USB 3.0, although it's going to work when plugged into a USB 2.0 port. These flash drive aren't aren't especially cheap at the moment, and they don't all work as you'd hope...

When OEMs build drives, they have firmware that includes (among other things) a Removable Media Bit. The RMB is the thing that tells Windows whether the drive is "fixed" or "removable" (it defines the seperation in Windows Explorer). The trouble is that if you get one where the RMB is set to "removable" then Windows won't do certain things with it. It won't let you partition the drive, so you can't use BitLocker; it won't run Windows Update (including standalone WU packages); it won't let you download apps from the Microsoft Store, and I dare say there are other things that I haven't come up against yet. With some drives you can flip the value of the RMB, but on the Kingston DT Ultimate G2 32GB that I have, you can't (I asked Kingston about this and told them why it was an issue - they're going to bear it in mind for future products).

The upshot is that while you may be able to get Windows To Go to work today, you might not be able to do everything with it, and you might want to exercise caution before buying a load of drives, even if someone says that it works with a particular model.

All that said, if you want to give it a go, there are step-by-step instructions on the TechNet wiki, and a very informative video from the 2011 BUILD conference. Also, Ars Technica has an step-by-step with a slightly different method, using the WAIK and a single partition, so you can do it on a "removable" drive (although you can tweak the TechNet steps to do that too).

Before I forget (and because this is one of the things that I was asked at the TechDays UK IT Camp this week), you are going to be activating Windows via AD or a key management server, hence my pointing out right at the start of this post that this is an enterprise feature.