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

Get-DSIsLogged

Sintesi

Verifica se la sessione è stabilita.

Sintassi

__AllParameterSets

Get-DSIsLogged [-AsLegacyResponse] [<CommonParameters>]

Descrizione

Verifica se la sessione è stabilita da una precedente chiamata a New-DSSession.

Esempi

PS C:\> Get-DSIsLogged

Verifica se la sessione è ancora stabilita.

Parametri

-AsLegacyResponse

Nelle versioni precedenti alla 2024.2, molti cmdlet DS restituivano un oggetto ServerResponse. L'attivazione di questo switch di compatibilità con le versioni precedenti consente il corretto funzionamento degli script sviluppati per le versioni precedenti.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  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, veda about_CommonParameters.

Note

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

Ultimo aggiornamento

È stato utile?