C# Class CloudInit.Modules.PowershellIncludeModule

Powershell module that downloads a list of scripts and executes each one in order
Inheritance: CloudInit.Modules.Core.PowershellModuleBase
Show file Open project: bwight/CloudInit.NET

Public Methods

Method Description
Execute ( String input ) : String

Executes the script

Protected Methods

Method Description
DownloadFile ( String url ) : Byte[]

Downloads a file from an http endpoint

ReadContent ( Byte content ) : String

Reads the contents of the file.

Method Details

DownloadFile() protected method

Downloads a file from an http endpoint
protected DownloadFile ( String url ) : Byte[]
url String Location of the file to be downloaded
return Byte[]

Execute() public method

Executes the script
public Execute ( String input ) : String
input String Input file to execute
return String

ReadContent() protected method

Reads the contents of the file.
protected ReadContent ( Byte content ) : String
content Byte The content of the file downloaded
return String