David Broussard Archive  rss

Another Powershell XML Gem

  One of the really cool things about Powershell is the ease with which you can read in XML and use Dot Notation “.” to get to elements.  For those of us whose XPath-Fu is weak this is awesome! I have been using this to walk web.config files recently and I ran into an issue.  Let’s look at a sample web.config file… In this case I am loading every web.config on a server to validate that it is not storing credentials.  To accomplish this I use the following code  This gets me each web.config file for every Site

Powershell Select from Multiple Config Files

One of the things I like most about PowerShell is the ease with which you can read XML and use it in your scripts.  Here is the function that I use to load an XML configuration file as an example: Its so easy that everyone does it and we end up with lots of XML configuration files for our scripts.  Usually I will setup a config file for each server or farm and I want to keep them so that I know what was used on that instance.  This leads to a bunch of XML files and when I

Pull OneDrive for Business Usage Using PowerShell

Recently I was asked how to find the usage of all of the users in our OneDrive for Business in our Office 365 tenant.  Its relatively easy to do this using PowerShell for all of your normal site collections.  For that you can use the Get-SPOSite function like so:  The problem is that this won’t give you the sizes of any OneDrive for Business site collections.  Those you have to explicitly pull using the Get-SPOSite like this…  That get’s us one user’s OneDrive, but how do we get them all?  First off, we need to get the list of

The Executive or Company as the Customer

Last week we talked about the end user as the customer for our Intranet and I proposed that we look at them more as product than as customer.  To recap, our definition of a customer is: someone that buys or pays, for a product or service.  So, let’s look at another potential customer…the Executives or the Company as a whole. The Executives certainly have the budget for an Intranet, but do they actually make use of the product or service?  That is where the answer starts to fall apart.  Let’s look at the problem this way.  How many users do you

End user, customer or product?

Last week, I wrote a blog post about how to sell an intranet to your organization and I quickly talked about who the customer of the Intranet should be.  The quick definition of customer is someone that buys or pays, for a product or service.  So, with that in mind, lets explore who the customer is for an Intranet.  There are three potential groups that make sense as customers in an organization. The End Users The Executives The Departments The End User as Customer When I talk to many customers about who the customer is for the Intranet, most people respond

Selling an Intranet to your organization

Let’s face it, we want a new Intranet and we are getting tired of waiting for our company to approve the project to build one.  How do we get that project going?  I’m glad you asked, and I hope to help you in this endeavor.  The first thing that you are going to have to realize is that if you want the project to happen you are going to have to sell it to your organization, and if we are going to sell this project we better understand more about the project and how to sell it. Step 1 –

Odd 403 Error in MOSS 2007

I was working at a client migrating some MOSS 2007 servers from Windows 2003 to Windows 2008R2 and ran into an odd issue with a custom user control they were using for a Captcha. When you tried to access the control and its associated graphics in the _controltemplates library you would get a 403 Access Denied error. It was really odd. It seems that this is an IIS 6 to IIS 7 change and you have to update the IIS 7 system to allow it to execute the user controls. Here is how you do it. Open up IIS 7

Microsoft at 40 and what it means for us all

​I got an article sent to me today.  It was in The Economist and it was about Microsoft entering Middle Age. An interesting read that takes a long hard look at Microsoft, where it came from, and how the new CEO Mr Nadella is reshaping the company to move forward into its 5th decade.  First a few comments on the article itself. “Mr Nadella’s formula for reinvigorating Microsoft is to move as quickly and as far as possible away from being a Windows-only company to be a global network of giant data centres that provide a broad range of online services

The Alternatives to Top Down Design

Second in a series, read the first entry here. The Big Reveal is dead…long live, the Little Reveal As I talked about in my first post in the series, most Intranet projects focus on a Big Reveal where the project works towards completion and has a big massive launch with much fanfare. There are a number of reasons for this style of approach. Partially it is due to the main landing page being the starting point for the Intranet, and thus a major focus of effort. Since that landing page is usually comprised of information from multiple lower level sources