Class: WinRM::PSRP::MessageData::PipelineOutput

Inherits:
Base
  • Object
show all
Defined in:
lib/winrm/psrp/message_data/pipeline_output.rb

Overview

Handles decoding a raw powershell output response

Instance Attribute Summary

Attributes inherited from Base

#raw

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from WinRM::PSRP::MessageData::Base

Instance Method Details

#outputObject



22
23
24
# File 'lib/winrm/psrp/message_data/pipeline_output.rb', line 22

def output
  extract_out_string(remove_bom(raw.force_encoding('utf-8')))
end