Our Blog

Tags Archives

You are currently viewing all posts tagged with foreach-object

PowerShell – Returning one object from a function as an Array

Few weeks had passed since I've initially written PowerShell – Few tricks about HashTables and Arrays I wish I knew when I started. I was happily using my tips and tricks myself till today when I noticed a strange problem. Do you know how I showed you that you could use a comma to return Array with just one member (that otherwise would be unwrapped and end up a string)?

Read more

This is a unique website which will require a more modern browser to work! Please upgrade today!