$s=New-Object IO.MemoryStream(,[Convert]::FromBase64String("some base64 string here"));
IEX( New-Object IO.StreamReader(
New-Object IO.Compression.GzipStream(
$s,[IO.Compression.CompressionMode]::Decompress)
)).ReadToEnd();
How can I see the IEX's output?