Changed property validation from NetFx to PoSh