Proper Out-String Implementation
Proper Out-String Implementation

The append of | Out-String changes the command to string, appending
Out-String to commands leaves the object intact while still displaying
it as a string in the psf console.

PoshSec/PoshSecFramework