$clustername = get-clustergroup ; foreach ($cn in $clustername) { Get-ClusterResource | where-object {$_.OwnerGroup.name -eq $cn} | export-csv -path s:\duct\traces\cat.txt}
the above powershell command creates a file with 0 data.
if I remove the "-path s:\duct\traces\cat.txt" and allow the powershell to prompt me for the file name (s:\duck\traces\cat.txt) I will get the file with data.
as i'm starting to play with powershell and it's capability i'm at a loss what would cause the *query*. any insight?