< Back

Start-MadOutputThread

Sat Jan 18, 2020 9:53 am

NAME Start-MadOutputThread



SYNOPSIS

Start a thread to export items from given queues to given CSV files





SYNTAX

Start-MadOutputThread -Reports <Object> [<CommonParameters>]



Start-MadOutputThread -Queue <Object> -Path <String> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Reports <Object>

Array of custom objects specifying the Queue and Path of each report

Required for multiple reports



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Queue <Object>

The BlockingCollection to monitor

Required for a single report



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Path <String>

Full path and name of the output CSV file

Required for a single report



Required? true

Position? named

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



NOTES





v 1.0 4/30/18 Tim Curwick Created

v 1.1 5/23/18 Tim Curwick Modified to collect all available objects in queue before exporting

(Preventing chatty queue and inefficient disk writes from blocking other queues)





RELATED LINKS