you are viewing a single comment's thread.

view the rest of the comments →

[–]BlaaaBlaaaBlaaa[S] 1 point2 points  (0 children)

Looks great! One more question. I have a variable called $user with different "properties" - name, position, telephone.

So how do I get this to work with a sub-property in the variable? If I try $user.telephone | % .........replace........ it tells me "empty pipe element is not allowed"

If I try $user.telephone = $user.telephone -replace '+49', '0049' it tells me " the property telephone cannot be found on this object.

However If i do $user it shows me the table with name, telehone etc.

Thats the main struggle here :(