Issues connecting to Office 365 using PowerShell? Check the client firewall

This content is 11 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

I’ve written previously about managing my Office 365 tenant using Windows PowerShell (Microsoft has since provided its own documentation on the topic) but I tried today and found that I couldn’t get a connection.

Every time I tried to create a session, the response came back as:

[ps.outlook.com] Connecting to remote server failed with the following error message : The WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic.

+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
eption

+ FullyQualifiedErrorId : PSSessionOpenFailed

Strangely though, it could resolve the server name as nslookup ps.outlook.com told me:

Non-authoritative answer:
Name: pod51000psh.outlook.com
Address: 132.245.1.167
Aliases: ps.outlook.com

Microsoft knowledge base article 2570535 includes steps for troubleshooting Windows PowerShell issues that affect Exchange Online for Office 365 and suggested

This issue occurs if an internal firewall isn’t started or if the Windows Remote Management service isn’t started

I confirmed that WinRM was running and allowing basic authentication but still couldn’t connect.  So I focused on the “internal firewall isn’t started” part.

Sure enough, the issue was Symentec Endpoint Prevention on my corporate laptop.  I used my wife’s PC instead, and connected with no issues at all…

Migrating SMS messages from iOS to Android

This content is 11 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

The iPhone 3GS that I use for work is now getting a little long in the tooth, no longer eligible for updates (read security risk) and the battery often runs out before the end of the day.  I still have a 4S that I use (with iOS 7) in my personal life but the company iPhone was replaced today with an Android handset (Samsung Galaxy S3 Mini).  This is my first Android phone – and will be an interesting experience because I want to see how this Google platform gets on with Microsoft Exchange (my previous experience with ActiveSync has been with iOS and Windows Phone 7).

Initial impressions are mixed and it may take me some time to get used to Android (or maybe it’s the O2/Samsung customisations) but I do have one observation: Google Play seems much faster than iTunes for app downloads…

The first apps installed on my phone were iSMS2droid, Dropbox and Spotify. Two of those apps seem pretty obvious, but “what’s iSMS2droid?”, you might ask.  It’s a handy app for importing SMS messages extracted from an iPhone backup to Android format.

The mechanics of transferring SMS messages from iPhone to Android are described in a hongkiat.com blog post but, in short, the steps are:

  1. Backup the iPhone in iTunes
  2. Locate the backup file in %appdata%/Apple Computer/Mobile Sync/Backup/ on Windows or ~/Library/Application Support/MobileSync/Backup/ on a Mac
  3. Open the folder with the most recent timestamp (one per synced device, I think)
  4. Search for the file called 3d0d7e5fb2ce288813306e4d4636395e047a3d28 and copy it to your Android phone (I did this via Dropbox)
  5. Open iSMS2droid and tap “Select iPhone SMS Database”, then point the app at the file you transferred from the iPhone backup. This will allow the message database to be converted and will save a file called iSMS2droid.xml (on my phone, it was in /storage/sdcard0/SMSBackupRestore).
  6. At this stage you’ll need another app, called SMS Backup & Restore, which can read the iSMS2droid.xml file (on my phone, it was in /storage/sdcard0/SMSBackupRestore) and import the messages.  All but one of my SMS messages were then restored and availble in the Android app.

Unfortunately, I did have a couple of issues to resolve along the way.

With SMS messages transferred, next step is contacts.  I can see these in Outlook, so pretty sure ActiveSync is handling them for me… let’s see what happens when I connect the ‘droid to the company servers…

Be safe, be seen #cyclesafe

This content is 11 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Listen to a cycling podcast or read a cycling campaign website and you’d be forgiven for thinking that all of the issues with cycling in the UK are down to motorists, poor road design, and the mixture of large vehicles and vulnerable cyclists.

So, as I wandered from Vauxhall station in South West London to my hotel this evening, I was flabbergasted to see just how few cyclists had adequate lighting.  Perhaps as many as a quarter of the cyclists I saw on the Albert Embankment just after dusk had either no lights, or lights that were so dim as to be useless. I even saw one rider, in black clothes and with no illumination, concentrating more on operating his mobile phone than watching the road ahead.  I also watched as a concrete mixer truck pulled out of a petrol station, then waited for a barely-visible cyclist who appeared a few feet away: nice road bike; nice gear; no lights; death wish?

It’s not an isolated incident either. This morning, I had a ringside seat from the top deck of a bus as I watched a cyclist cut down the inside of a construction lorry, despite large warning signs on the rear of the vehicle warning cyclists of the danger (and the tragic loss of life earlier this week when another cyclist was killed after a collision with a tipper truck – for the record, I’m not suggesting that the cyclist who died was at fault – we simply don’t know – but that there are clear and evident dangers and the cyclist this morning was being reckless).  This is in spite of the efforts of organisations like TfL and RoadPeace with campaigns like See Me Save Me trying to warn of the danger presented by large vehicles. There was an excellent piece on ITV’s The Cycle Show about the issues that truck drivers have in seeing cyclists – and even the dangers that advanced cycle stop lines can present (it’s a pity it’s not been released as a public safety film).

It may be a minority that give the rest of us a bad name (I’m a cyclist as well as a motorist – and I can recount stories of idiot drivers too) but it’s a significant minority and the consequences could be fatal. Maybe the Times’ Cities Safe for Cycling campaign should focus on educating cyclists on the dangers they present for themselves and others, rather than just on the dangers that they face from other traffic.

[Updated 21:56 with reference to yesterday’s tragic death]

The “wheel of fortune”

This content is 11 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Last week, I wrote about the White Book of Big Data – a publication I co-authored last year at Fujitsu.

One of the more interesting (for me) sections of the document was an idea from one of my colleagues, providing a model to determine next steps in forming a strategy for embracing a new approach (in this case to move forward towards gaining value from the use of a big data solution but it can be applied to other scenarios too).

The model starts with a “wheel” diagram and, at the centre is the first decision point. All organisations exist to generate profit (even non-profits work on the same principles, they just don’t return those profits to shareholders).  There are two ways to increase profit: reducing cost; or increasing revenue.

For each of the reduce cost/increase revenue sectors, there are two more options: direct or indirect.

These four selections lead to a number of other opportunities and these may be prioritised to determine which areas to focus on in a particular business scenario.

With those priorities highlighted, a lookup table can be used to suggest appropriate courses of action to take next.

It’s one of those models that’s simple and, I think, quite elegant. I’ll be looking to adopt this in other scenarios in future and I thought that readers of this blog might find it useful too…

Take a look at the book if you want to see this working in practice – “the wheel” is on page 37.

The White Book of Big Data

This content is 11 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Almost exactly a year ago, I was part of a team at Fujitsu that wrote a short publication called the White Book of Big Data.

This was the third book in the successful “white book” series, aimed at helping CIOs to cut through vendor hype on technology and business trends, following on from the White Book of Cloud Adoption and the White Book of Cloud Security.

At the time, I was keen to shout about this work but couldn’t track down an externally-visible link (and I was asked not to publish it directly myself).  Now, when big data has become such an incredibly over-hyped term (so much so that I try not to use the term myself), I’ve found that the book has been available for some time via the Cloud Solutions page on the Fujitus website!

Irrespective of the time it’s taken for me to be able to write about this (and any bias I may have as one of the authors) I still think it’s a useful resource for anyone trying to cut through the vendor hype.  At no point does it try to directly sell Fujitsu products – and I’d be interested in any feedback that anyone has after reading it.  If you’d like to read the book, you can download a PDF.

As I’ve changed roles since the book was published, I think it’s unlikely I’ll be involved in any future publications of this type (I always wanted to create a White Book of “Bring Your Own” Computing) – unless I can encourage any of my marketing colleagues to sponsor a White Book of Messaging!

MK Geek Night again – and I still haven’t blogged about the last one!

This content is 11 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

This week sees the sixth quarterly Milton Keynes Geek Night (MKGN).  I’ve attended every one so far and always blogged about them – except the last one.  The simple fact is, I’ve been too busy – but I’m also just a little bit obsessive about these things and wanted to write something before it’s too late…

The last event was fantastic as ever but I’ve lost my notes. I know it sounds a bit like “the dog ate my homework” but I think iA Writer has put them somewhere strange… not on Dropbox (where I expected) but in iCloud, I think – except I can’t find any documents in iCloud (I’m sure I have to use an iDevice of some sort and it will all be fine…). I really should standardise on using one app for this – not the current combination of OneNote/Evernote/iA Writer, depending on the device I’m using…

Anyway, you can catch the audio from the last MK Geek Night on SoundCloud including:

  • Sarah Parmenter (@Sazzy) on designing for the responsive web.
  • Westley Knight (@Meteoracle) on life behind the curve.
  • Michael Fox (@IdleMichael) on how boardgames can make you awesome.
  • Ben Ward (@CrouchingBadger) on setting whitespace spectrum free.
  • Andrew Spooner (@AndSpo) on why mobile audio sucks.

MK Geek Night number 5 was David Hughes’ (@DavidHughes) last night as co-host and organiser but Richard Wiggins (@RichardWiggins) continues to organise these fantastic evenings.  You can find out more on the MK Geek Night website or on Twitter (@MKGeekNight) – but you’ll have to be quick. Tickets “sold” out for this free event in under an hour this time around!

Lyncing to Asterisk

This content is 11 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

I’m seeing increasing interest from customers in the enterprise voice functionality in Microsoft Lync – particularly for customers who already have an investment in Microsoft products for email, instant messaging and presence (Exchange and Office Communication Server or Lync).

One of my colleagues, Garry Newsham, shared an interesting link with me recently about integrating Lync with the open source Asterisk platform. Whilst this isn’t something I expect many enterprises to be looking at, it might be a project for smaller organisations.

As for me, maybe I’ll have another go at getting IP telephony working in my house, linked to my Office 365 Lync subscription…

Short takes: “detagging” oneself on Facebook; and the universal cleaning power of baby wipes

This content is 12 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

In the absence of a “proper” blog post, a few short takes based on things I’ve discovered these last few weeks…

“Detagging”

Over the last few months, I’ve been notified that someone has tagged me in a photo on Facebook. Great, I think, another picture from 20 years ago that I need to check to see I’m not doing anything naughty in… or “how on earth does that person have a picture of me?!”.

As it happens, some of the pictures weren’t of me – just someone who looked a bit like me, viewed from a particular angle.

It turns out that Farcebook has a help page for “how do I remove a tag from a photo or post I’m tagged in”, which is kind of handy as, however careful you are about sharing your information online, you can’t do anything about your friends.

Baby wipes and handlebar tape

Almost nine years of fatherhood have taught me lots, including that baby wipes are great for cleaning many things – goodness knows why we let them near the skin of our precious little people.

A few weeks ago, I bought myself a road bike. I was a little concerned about the white bar tape though… not likely to stay white for long, I thought. And I was right. Velominati rule #8 discusses matching the colour of saddles and bars – in the full text of the book it also talks about  keeping white bar tape clean in order to Look Fantastic at All Times. After the application of a little elbow grease and a baby wipe though, my bar tape is gleaming like (almost) new…

Preparation notes for Microsoft exam 70-341: Core Solutions of Microsoft Exchange Server 2013

This content is 12 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

I’ve got an exam tomorrow. I figured that, as I’m employed as a manager and not an administrator, my best chance at passing the Core Solutions of Microsoft Exchange Server 2013 (70-341) exam was to take the test soon after attending the training course. So, tomorrow morning at 10am, I’ll be in a Prometric test centre whilst the sun is shining outside…

I learn by writing, so what follows are my notes – a brain dump if you like but based purely on study – I’ve not seen the exam (or any practice tests) yet…

Fingers crossed, I’ll be fine.  If I do fail, it will be the first time I’ve had to re-take a Microsoft exam – here goes with the brain dump.

[Updated 2013/11/22 – after failing 70-341 twice and 70-342 once – so far – I’ve removed the content of this post as it’s clearly no help to anyone!]

Great service, great bike, great experience!

This content is 12 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

I’ve written before about the interest in cycling I developed last year but I wasn’t able to buy a road bike at the time. A few weeks ago, that all changed as I found myself attracted to a beautiful piece of Italian machinery at just about the same time my bonus was paid…

Mrs W. may think it’s a toy but I’m currently building up to my first (sprint) Triathlon and hope to be riding from London to Paris with friends next year.  That means that my Bianchi Via Nirone 7 Veloce Limited Edition is ridden several times a week as we enjoy the summer here in the UK and I try to build up my fitness (and knock off a few more kilos) – indeed I’ll be heading out tomorrow morning (and anything that gets me up early on a weekend must be fun).

The reason for this blog post is not so much to rave about my first road bike though (lovely though it is) but to commend the dealer where I bought it.

You see, I spent weeks looking at various bikes from Giant, Scott, Trek, Cannondale, etc. and I found many helpful dealers along the way. Unfortunately, I also found some who were less so – Pedalworks in Dunstable wanted to charge me so that they could spend twenty minutes working out which frame size would be right for me with the Scott Speedster 20 I was considering at the time. I managed to ride a machine from lower down the range at Phil Corley Cycles in Milton Keynes (they didn’t have a 20 in my size) but it just didn’t feel as comfortable as the Trek Domane 2.0 I rode next. The Trek was a lovely bike but this years colours are just so… dull (the 2.3 is OK, but outside my budget). I was tempted by the Giant Defy 1 (but struggled to find one in red/white) and I even gave Boardman Road Team Carbon Limited a try as it’s a stonking deal but a bit too racey for me (a*se up head down – as someone referred to it) and, despite their best efforts letting me ride one around the loading bay, Halfords’ staff just didn’t seem to know much about their bikes and how they compared with the competition (apart from on price).  Then, when two people independently suggested I took a look at the Bianchi Via Nirone, I liked what I saw.

I called Epic Cycles who were a) incredibly helpful b) really friendly and c) willing to let me come and spend some time with them to work out what size bike I need.  And when I say “some time” – I mean an hour and a half fitting session working out how best to set up the bike. I said “but I just need to work out my size” and they said they understood – this is a sizing evaluation – apparently a full performance bike fit is 3 hours!

So I set off to Ludlow, and Epic’s Ben Williams put me onto the turbo trainer, before setting about measuring various angles to get me in just the right position, each time explaining why it was so important and how it will make a difference on long rides (I have the measurements, but I wish I’d taken notes!). The thing is, it works – who would have thought that taking 1cm off the stem would make such a difference in comfort but it does – as does the position of my saddle (height and fore-aft), bar height, stem angle, etc.  Not only that but it made a huge difference in my purchasing confidence and the order was placed very soon afterwards.

The Via Nirone 7 is available in various spec levels but Epic buy so many they’re able to have their own limited edition bikes built up.  Mine has a Campagnolo Veloce groupset (roughly equivalent to Shimano 105) and K-Vid Kevlar/Carbon seat stays which really make it a smooth ride.

A few days later, and the bike was ready for collection – Epic would have delivered the bike to me, free of charge, but I elected to collect it – I didn’t want to entrust my pride and joy to a TNT courier. Even better, when I bought some pedals to go with the bike, Epic fitted the cleats to my shoes for me (even though I’d bought the shoes elsewhere) and helped me to get set up*. Great service, great bike, great experience – and hopefully the start of a great new hobby for me.

Unfortunately, Mrs W wants me to ride around in neon colours now so that I can be seen… ah well, at least that’s an excuse to buy some more gear…

  • That still didn’t stop me from falling off after failing to unclip at the first junction on my first ride – but that’s something of a rite of passage, I believe.