Use the correct type names would be my vote. If you call dedupe a [bool], foo will be left justified. So your code is correct, compression is Boolean and should be left justified. The Ontap cmdlet is wrong, dedupe should be left justified. Just saying. I avoid using calculated properties. Ugly.