< Back

Get-FilteredCsvString

Sat Jan 11, 2020 2:40 pm

NAME Get-FilteredCsvString



SYNOPSIS

This function filters a CSV string, keeping rows which have $true or the specified values for the specified

columns.





SYNTAX

Get-FilteredCsvString [-csv] <String> [[-columns] <String[]>] [[-columnValues] <PSObject[]>] [[-filtering]

<String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-csv <String>

The CSV string to filter.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-columns <String[]>

The columns used to filter the CSV string.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-columnValues <PSObject[]>

The column values used to filter the CSV string.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-filtering <String>

Select if the filtering is 'and' or 'or'.

If the filtering is 'and', all the specified columns must match the column values



Required? false

Position? 4

Default value and

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Object[]







RELATED LINKS