Search

Class PowerShellHostConfig

Encapsulates the configuration for a remote PowerShell host

Attributes

Name Type Description
authentication String Specifies authentication mechanism used when communicating with PowerShell host. WinRM protocol supported Basic and Kerberos.
authorizationMode PowerShellAuthorizationMode The authorization mode for this configuration
autorizationMode PowerShellAutorizationMode The authorization mode for this configuration
connectionURL String The IP/Hostname of the remote machine
name String Logical name given to the remote PowerShell Machine
password String The password to use to log into the remote PowerShell Machine
port String The port on which to connect in case of WinRM type of communication.
transportProtocol String The transport protocol in case of WinRM type of communication. Can be either HTTPS or HTTP
type String The type of the communication protocol i.e. WinRM or SSH
username String The username of the user that logs to the remote PowerShell Machine

Methods

None

Returned by

Method Returns
PowerShellHost.getHostConfig() PowerShellHostConfig

Referenced in

Method Returns
PowerShellHostManager.update(PowerShellHostConfig hostConfig) PowerShellHost
PowerShellHostManager.validatePowerShellHost(PowerShellHostConfig hostConfig) void