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

Set-HubContext

Sinossi

Imposta il PSHubContext corrente

Sintassi

__AllParameterSets

Set-HubContext -PSHubContext <PSHubContext> [<CommonParameters>]

Descrizione

Imposta il PSHubContext corrente su quello fornito

Esempi

PS C:\> $availCtxs = Get-HubContext; Set-HubContext -PSHubContext $availCtxs[2]

L'utente recupera tutti i contesti disponibili e imposta il terzo come nuovo contesto corrente.

Parametri

-PSHubContext

Imposta il contesto Devolutions Cloud sulla sessione corrente

Type: Devolutions.Hub.PowerShell.Entities.PowerShell.PSHubContext
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, consulti about_CommonParameters.

Note

Per maggiori informazioni, digiti "Get-Help Set-HubContext -detailed". Per informazioni tecniche, digiti "Get-Help Set-HubContext -full".

Ultimo aggiornamento

È stato utile?