Display hash in one line

by Sep 19, 2012

Hi,

This is probably something easy, but I cannot get it figured out….

I have the following code:

$Exclude =@('*.log', '*.txt')
$Exclude | FW -autosize

The idea is to get is displayed like
*.log *.txt
However, it is always displayed as
*.log
*.txt

Using the -force switch doesn't help me either as it results in a "Operation is not valid due to the current state of the object." error.

Can anyone help this newbee out?

Thanks,

Michel