Pipe utility functions for PowerShell