Decorate the cmdlet class with the OutputType attribute. It specifies the .NET type your cmdlet returns to the pipeline. The attribute was introduced in PowerShell 2.0.
Declaring the output type makes the objects your cmdlet returns more discoverable by other cmdlets, so tooling and downstream commands can reason about the shape before runtime.