< Back

ConvertTo-CsvString

Sat Jan 11, 2020 2:37 pm

NAME ConvertTo-CsvString



SYNOPSIS

This function converts a CSV object to a CSV string.





SYNTAX

ConvertTo-CsvString [-csvObject] <PSObject[]> [<CommonParameters>]





DESCRIPTION

This function takes in a custom object and returns the CSV representation

of that object as a single string.





PARAMETERS

-csvObject <PSObject[]>

The object containing properties to convert to CSV.



Required? true

Position? 1

Default value

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.String







RELATED LINKS