To use CommandAssist, the first step you will need to take is to have ShowUI (at least 1.1) installed and run PowerShell in STA mode.

Then, you can import CommandAssist.  After importing CommandAssist, you can take advantage of the scriptblock builder built in to Where-Object

Get-ChildItem | Where-Object -assist

When you hit enter, you will see a screen like the below.

image

At the top of the screen is a count of the number of objects coming into Where-Object.  Underneath that is the textbox for the filter scriptblock.  After you start adding information to the scriptblock, it will turn green for valid scriptblocks and red for invalid scriptblocks.  Underneath that is a count of how many objects will pass through the pipeline after applying the filter.

Two list boxes towards the bottom contain a list of properties available from the incoming objects, as well as the various comparison operators in PowerShell.  You can drag and drop those items into the scriptblock builder.

Once you are happy with the resulting scriptblock, you can hit OK and the selected filter will be applied to the objects in the pipeline and pass the remaining objects to the next step in the pipeline.