Please always read the help for the cmdlets you’re about to use completely including the examples to learn how to use them.
And BTW:
When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.