I need to remove properties from multiple places with powershell script. I tried many examples from net, with null assigning and using remove on Properties and AllProperties, or using method DeleteProperty, but the most I managed is to remove value. Can anyone suggest how to do that?
Edit: Well the problem was kinda project related, because custom tools displayed needed to delete keys on different casing than they really was and what confused me was, that the script could find properties with wrong casing key, but couldn't delete it. Other than that the simplest way is as bunzab had told