Citrix Virtual Apps and Desktops SDK

Get-LogSite

Gets global configuration logging settings.

Syntax

Get-LogSite
   [-SkipCertificateValidation]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

This cmdlet retrieves the global configuration logging settings.

Examples

EXAMPLE 1

Gets configiration logging site settings.

Get-LogSite
<!--NeedCopy-->

Parameters

-SkipCertificateValidation

Forces the cmdlet to skip checking SSL certificates. By default, the cmdlet will check the certificate from the server. If the certificate is not valid, the cmdlet will not connect to the server.

Type: SwitchParameter
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Introduced in: Citrix Virtual Apps and Desktop 7 2511

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can’t pipe objects to this cmdlet.

Outputs

Citrix.ConfigurationLogging.Sdk.Site

Get-LogSite returns an object containing the following properties:

  • Locale - the current language that logs should be recorded in.

    Can be: ‘en’, ‘ja’, ‘zh-CN’, ‘de’, ‘es’ or ‘fr’.

  • State - the current state of configuration logging. Can be:

    Enabled, Disabled, Mandatory or NotSupported.

Get-LogSite