Hello Everyone,
Sometimes we need to see output, but we want to do some more manipulation. We tend to think what if the output can be filtered easily. With Out-gridview cmdlet it is very easy to see output in grid format.
HOW TO USE?
Write any command or set of line and at the end pipe to out-gridview.
EXAMPLE
get-process | out-gridview
You can enter string in filter to filter out certain lines.
You have option to filter based on certain column. This can be achieved with Add Criteria button.
I hope this was quick and easy.
Happy scripting!!
Sometimes we need to see output, but we want to do some more manipulation. We tend to think what if the output can be filtered easily. With Out-gridview cmdlet it is very easy to see output in grid format.
HOW TO USE?
Write any command or set of line and at the end pipe to out-gridview.
EXAMPLE
get-process | out-gridview
Add caption |
You can enter string in filter to filter out certain lines.
You have option to filter based on certain column. This can be achieved with Add Criteria button.
I hope this was quick and easy.
Happy scripting!!
No comments:
Post a Comment