--- title: "Connect-EPCController" slug: "connect-epccontroller" updated: 2021-11-04T17:20:43Z published: 2021-11-04T17:20:43Z canonical: "support.nectarcorp.com/connect-epccontroller" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.nectarcorp.com/llms.txt > Use this file to discover all available pages before exploring further. # Connect-EPCController Connects to EPC Controller and store the credentials for later use. ## Description Connects to an Endpoint Client Controller and store the credentials for later use. ## Syntax ``` Connect-EPCController -ControllerFQDN (String) -Credential (PSCredential) -StoredCredentialTarget (String) ``` ## Examples ### Example 1 ``` $Cred = Get-Credential ``` Connect-EPControllerFQDN -Credential $cred -ControllerFQDN contoso.nectar.services Connects to the contoso.nectar.services EPC Controller using the credentials supplied to the Get-Credential command ### Example 2 ``` Connect-EPControllerFQDN -ControllerFQDN contoso.nectar.services -StoredCredentialTarget MyEPCCreds ``` Connects to contoso.nectar.services EPC Controller using previously stored credentials called MyEPCCreds ## Parameters **-ControllerFQDN ** The FQDN of the Endpoint Client Controller | Parameter | Value | | --- | --- | | Required | false | | Position | 1 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByValue) | | Accept wildcard characters? | false | **-Credential ** The credentials used to access the EPC Controller. | Parameter | Value | | --- | --- | | Required | false | | Position | 2 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-StoredCredentialTarget ** Use stored credentials saved via New-StoredCredential. Requires prior installation of CredentialManager module via Install-Module CredentialManager, and running: Get-Credential | New-StoredCredential -Target MyEPCCreds -Persist LocalMachine | Parameter | Value | | --- | --- | | Required | false | | Position | 3 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false |