PowerShell Studio: "property cannot be found on this object" Tagged: Sapien PowerShell Studio UI This topic contains 2 replies, has 2 voices, and was last updated by Steven Ayers 1 year, 9 months ago. Author Posts August 28, 2015 at 5:20 am #29108 Steven AyersParticipant Hi there, So I've made myself a lovely glowing UI for my script. Tested it on my 2012 R2 bo, created it etc, and there's no issue, I then run it on a Windows 7 box and I get the following error: Property 'Size' cannot be found on this object; make sure it exists and is settable. This error shows for what seems to be every property. Do you know what could be causing this? Many Thanks, Steven August 28, 2015 at 8:01 am #29111 Bob McCoyParticipant Steven, it's pretty hard to guess when we don't get to see your script, or at least the portion where you think the error is. August 28, 2015 at 8:30 am #29112 Steven AyersParticipant Hi There, No I totally appreciate that. I actually found I was making the rookie mistake of missing the first errors in the script, as the buffer size was too low... It ended up being related to Reflection.Assembly. It was calling a Version 4 assembly: [void][Reflection.Assembly]::Load('System.Xml, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089') All I did was change it to Version=184.108.40.206 and the script became backwards compatible... sorted! Just thought I'd share this pretty dodgy solution for anyone who ever has the same issue 🙂 Author Posts You must be logged in to reply to this topic.