Spring til indhold
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect-DCAccount

Synopsis

Opret forbindelse til Devolutions Cloud.

Syntaks

Kontekst for Devolutions Cloud

Connect-DCAccount -PSHubContext <PSHubContext> [<CommonParameters>]

Ingen Devolutions Cloud kontekst

Connect-DCAccount -Url <string> -ApplicationKey <string> -ApplicationSecret <string>
 [<CommonParameters>]

Description

Hvis PSHubContext er angivet, try at opretter forbindelse til Devolutions Cloud med den. Hvis PSHubContext er ikke angivet, create en PSHubContext med oplysninger modtaget og try at opretter forbindelse til Devolutions Cloud afterward.

Eksempler

Eksempel 1

PS C:\> $PSHubContext = [Devolutions.Hub.PowerShell.Entities.PowerShell.PSHubContext]@{ApplicationKey="24526a88-7f18-4356-95bd-11690f7bc59b;468ce2d5-ea4b-42ff-bc02-d93c71b4e554"; ApplicationSecret="U4nmdOjqPAcL0GfbvNC2u8e0FCZjhEJFTnn6YHpIZDY="; Url="https://stagingv3.devolutions.xyz"}; Connect-DCAccount -PSHubContext $PSHubContext

Brugeren opretter konteksten med oplysning de know og bruger den at opretter forbindelse til Devolutions Cloud.

Eksempel 2

Brugeren etablishes en forbindelse til Devolutions Cloud af passing konteksten's oplysning direkte til cmdlet'en. associated kontekst er oprettet ved samme klokkeslæt.

Parametre

-ApplicationKey

Devolutions Cloud Program Nøgle

-ApplicationSecret

Devolutions Cloud Program Hemmelighed

-PSHubContext

Devolutions Cloud Kontekst

-Url

Devolutions Cloud URL

CommonParameters

Denne cmdlet understøtter de almindelige parametre: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction og -WarningVariable. Yderligere oplysninger finder De i about_CommonParameters.

Noter

Yderligere oplysninger får De ved at skrive "Get-Help Connect-DCAccount -detailed". Tekniske oplysninger får De ved at skrive "Get-Help Connect-DCAccount -full".

Sidst opdateret

Var dette nyttigt?