Install Windows Feature from Source

Here’s the syntax to use when trying to use Install-WindowsFeature cmdlet with source as ISO mounted as DVD:

Install-WindowsFeature -Name "Web-App-Dev" -source wim:f:\sources\install.wim:4

Interestingly, when I tried to do this with the feature “Web-Net-Ext” for the .net 3.5 extensibility, it failed with a download error.

Even trying to install .net 3.5 through Install-WindowsFeature or the Server Manager failed with a similar error.

I had to install it through DISM, and then the rest of the command worked:

Dism /online /enable-feature /featurename:NetFX3 /All /Source:F:\sources\sxs


Exchange Online PowerShell access denied

I am attempting to test aspects of Office 365 Modern Authentication in a UAT environment prior to enabling it within our production Tenant.

Part of this work is testing the Exchange Online PowerShell access, as there is quite amount of automation configured in our environment and we want to ensure it doesn’t break. I’ve read it “shouldn’t”, but that’s a dangerous word to trust.

Until now I’ve been unable to make the PowerShell connection to Exchange Online in our UAT environment, receiving the following during my attempts:

New-PSSession : [] Connecting to remote server failed with the following error message:[ClientAccessServer=servername,,RequestId=e6f6b9e7-7c5e-45ec-87fe-59332db1fb95,TimeStamp=8/17/2017 3:16:52 PM] Access Denied For more information, see the about_Remote_Troubleshooting Help topic.

I can use the same account to connect in-browser to, and it is set as a Global Administrator in O365, so I know that the account itself has appropriate access.

Interestingly, if I connect with the MFA-supported PowerShell method, with the same account, it connects successfully.

Through testing I’ve determined that using any on-premise account synchronized through Azure AD Connect fails with the same “Access Denied” message, while any cloud-only account connects successfully.

I began to look at our ADFS implementation in UAT since that is a key component for authenticating the on-premise user account. This environment has ADFS 2.0 on Server 2008 R2, which is different than production but shouldn’t be a barrier to connectivity (without MFA).

After comparing the O365 trust configuration and finding no issues, I decided to use the Microsoft Connectivity tool to test. Using the Office 365 Single Sign On test, I saw a failure with this error:

A certificate chain couldn't be constructed for the certificate.
Additional Details
The certificate chain has errors. Chain status = NotTimeValid.

This let me on the path to fixing expired/broken SSL certificates in our UAT ADFS, which I posted about previously here.

Now that the SSL problem is resolved, I attempted to connect to Exchange Online PowerShell again, and was successful!

Looks like this “Access Denied” message was directly related to the expired certificate of the ADFS proxy.



Telerik ASP.NET Radcontrols

When I first began developing web applications, it was with .net 4.0, gridviews, formviews and the Microsoft Ajaxtoolkit. Since I was learning on the job, Google was my first resource when stuck on a problem and I would consistently come across unhelpful articles for RadGrid and other Telerik tools.

Now, I have Telerik ASP.NET AJAX controls at my disposal, purchased for the current web application I’m building and I’m finding them to be such an amazing resource.

Being able to quickly build something like the RadPivotGrid from scratch is an empowering experience. In some circles I’ve seen the Telerik tools get a bad rap for being buggy or heavy unnecessary code, but as a part-time developer they are quite amazing. These two screenshots show grids of information that took less than a day to build.

RadGrid with grouping

Writing code for all these features based on the Ajax GridMenu would have been horrible and taken a drastically long time.

The Telerik support and forums are fantastic as well. A couple of times I’ve had an issue trying to build something and submitted a support ticket. I had a response a few hours later, and it actually was a helpful response!

Overall, if you’re a web developer and are building ASP.NET applications, check out the Telerik tools, they’re worth the investment.

Great Big Hyper-V Survey – 2012

If you’re using Hyper-V in any capacity, and you haven’t already taken the “Great Big Hyper-V Survey 2012”, I highly recommend you do so. You can find detailed information about the survey here:


This survey is put on by 3 MVP’s (Hans Vredevoort, Aidan Finn, and Damian Flynn) and is the second time they’ve run this survey. The goal is to gather feedback and hopefully help shape the next version of Hyper-V.


If you aren’t already following the blogs of Hans Vredevoort and AidanĀ Finn, you can find them below. They’re always full of great information on Hyper-V.