- 04 Nov 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Connect-EPCController
- Updated on 04 Nov 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
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 <String>
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 <PSCredential>
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 <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 MyEPCCreds -Persist LocalMachine
Parameter | Value |
---|---|
Required | false |
Position | 3 |
Required | false |
Default Value | None |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |