When working with PowerShell I have came across really cool way to work with PSObjects. It’s being simple as creating one of the underlying object methods. But first things first – let’s create one template object


Thats really easy – now its time to simply us it as base for other created objects


And thats it – voilla 😉 the whole magic is just hidden under this line


Hope this helps – happy coding!