System.Management.Automation.PSDataStreams class has the six properties Debug, Error, Information, Progress, Verbose and Warning whose type is System.Management.Automation.PSDataCollection<T> (T being DebugRecord, ErrorRecord, InformationRecord etc.). PSDataCollection is created in the constructor of System.Management.Automation.PowerShell.