Connect-NCXCloud
    • 21 Aug 2024
    • 1 Minute to read
    • Dark
      Light
    • PDF

    Connect-NCXCloud

    • Dark
      Light
    • PDF

    Article summary

    Connects to Nectar CX cloud and store the credentials for later use.

    Syntax

    Connect-NCXCloud
      -CloudFQDN  <String>
      -TenantName  <String>
      -Credential  <PSCredential>
      -StoredCredentialTarget  <String>
    

    Examples

    Example 1

    $Cred = Get-Credential
    

    Connect-NCX -Credential $cred -CloudFQDN contoso.nectar.services
    Connects to the contoso.nectar.services Nectar CX cloud using the credentials supplied to the Get-Credential command

    Example 2

    Connect-NCX-CloudFQDN contoso.nectar.services -StoredCredentialTarget MyCXCreds
    

    Connects to contoso.nectar.services Nectar CX cloud using previously stored credentials called MyCXCreds

    Parameters

    -CloudFQDN <String>
    The FQDN of the Nectar CX cloud.

    ParameterValue
    Requiredfalse
    Position1
    Requiredfalse
    Default ValueNone
    Accept pipeline input?true (ByValue)
    Accept wildcard characters?false

    -TenantName <String>
    The name of a Nectar DXP cloud tenant to connect to and use for subsequent commands. Only useful for multi-tenant deployments

    ParameterValue
    Requiredfalse
    Position2
    Requiredfalse
    Default ValueNone
    Accept pipeline input?true (ByPropertyName)
    Accept wildcard characters?false

    -Credential <PSCredential>
    The credentials used to access the Nectar DXP UI. Normally in username@domain.com format

    ParameterValue
    Requiredfalse
    Position3
    Requiredfalse
    Default ValueNone
    Accept pipeline input?true (ByPropertyName)
    Accept wildcard characters?false

    -StoredCredentialTarget <String>
    Use stored credentials saved via New-StoredCredential. Requires prior installation of CredentialManager module via Install-Module CredentialManager, and running:
    Get-Credential | New-StoredCredential -Target MyCXCreds -Persist LocalMachine

    ParameterValue
    Requiredfalse
    Position4
    Requiredfalse
    Default ValueNone
    Accept pipeline input?true (ByPropertyName)
    Accept wildcard characters?false

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence