Skip to content
  • Home
  • About Me

Šmonland

Scripts

Can’t Set-ExecutionPolicy when scope is MachinePolicy

March 10, 2017March 10, 2017Daniel ŠmonLeave a comment

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, TechnologyPowerShell, Scripts

Diff XML, via sorting XML elements and attributes

March 10, 2017March 15, 2017Daniel Šmon5 Comments

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 →

TechnologyDiff, PowerShell, Scripts, XML

Follow me on Twitter

My Tweets

Tags

.Net Access AngularJS ASP.NET MVC Auditing C# Data Diff Excel Firewall How to Hyper-V IISExpress Microsoft Migration Mobile Networking Office 365 PowerShell Scripts Scrum SharePoint SharePoint 2013 SharePoint Apps SharePoint Online Shortcuts StructureMap Subversion SVN TFS Thoughts Visual Studio Visual Studio 2015 Visual Studio Online Xamarin XML

Archives

  • January 2019 (1)
  • July 2017 (1)
  • April 2017 (1)
  • March 2017 (3)
  • February 2017 (1)
  • November 2016 (1)
  • July 2015 (1)
  • December 2014 (2)
  • October 2014 (3)
  • December 2013 (2)
  • October 2013 (2)
  • September 2013 (1)

Recommendations

  • Searle Photography These guys captured our wedding, including the picture you see in my banner
  • SSW Leading .NET, SQL and SharePoint Consultants

RSS

  • RSS - Posts
  • RSS - Comments
Blog at WordPress.com.