Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

RemoteHostAuthentication - createPsExecRemoteHostAuthentication


RemoteHostAuthentication - createPsExecRemoteHostAuthentication

Description :

This command creates a Remote Host Authentication for the PSEXEC Execution Protocol.

Return type : com.bladelogic.om.infra.model.remotehostauthentication.RemoteHostAuthentication

Command Input :

Variable Name

Variable Type

Description

name

String

Name of the Remote Host Authentication.

description

String

Description of the Remote Host Authentication.

psExecServerName

String

Server for PSEXEC execution.

maximumExecutionParallelism

Integer

Maximum Execution Parallelism.

automationPrincipalName

String

Automation Principal Name.

Example

The following example creates a PSEXEC Remote Host Authentication. It will then query the RemoteHostAuthentication object that was returned for the name. This example will utilize the NSH Performance Commands for execution purposes.

Script





# Set the serviceProfileName (myProfile) that the NSH Performance Commands will use.

# The username/password for this serviceProfileName must be cached with the blcred command.

blcli_setoption serviceProfileName myProfile

# Create the Remote Host Authentication using the PSEXEC Execution Protocol.

blcli_execute RemoteHostAuthentication createPsExecRemoteHostAuthentication myWindowsAuthentication "Auth for Windows" winserv1 30 LdapAutoPrin

# The above command will return something like "com.bladelogic.om.infra.model.remotehostauthentication.RemoteHostAuthenticationImpl@9f069f"

# This is a BLCLI reference to the Remote Host Authentication which was just created.

# You can then execute additional RemoteHostAuthentication BLCLI calls to query things like id and name.

blcli_execute RemoteHostAuthentication getName

# The above command will execute directly on the Remote Host Execution returned from the initial blcli_execute call.

# It will return a value like myWindowsAuthentication.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.3