Stuck on a machine that has a restrictive PowerShell execution policy that is set via Group Policy? Unfortunately you can’t just use Set-ExecutionPolicy to change the policy for the MachinePolicy scope. Continue reading
PowerShell
Diff XML, via sorting XML elements and attributes
Have you ever had to diff XML files? Because ordering isn’t important in XML structure, it’s often hard to diff changes in XML, especially if changes have been generated by tooling. A colleague and I came up with a quick script in PowerShell to order all elements and attributes in an XML files for an easier diff. Continue reading
SharePoint Online: Publishing Portal template not allowed at the Root URL
So, you’ve provisioned a new SharePoint online tenant, and would like to replace the Team Site at the root URL with a site using the ‘Publishing Portal’ template. Seems reasonable, right? Continue reading