< Back
Enable-CTXVDALogging
Post
NAME Enable-CTXVDALogging
SYNOPSIS
Enables Citrix virtual desktop agent logging
SYNTAX
Enable-CTXVDALogging [[-LogPathFolder] <String>] [-OverwriteLogFile] [[-InstallFolder] <String>]
[<CommonParameters>]
DESCRIPTION
PARAMETERS
-LogPathFolder <String>
Path to the folder where the log should be saved. If the folder is not present the script will create it for
you. Default is C:\\XDLogs.
Required? false
Position? 1
Default value C:\\XDLogs
Accept pipeline input? false
Accept wildcard characters? false
-OverwriteLogFile [<SwitchParameter>]
Enabling this parameter will overwrite the log file each time the virtual desktop agent service is started.
Default is false.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-InstallFolder <String>
If you did not install the virtual desktop agent in the default directory please provide the installation
folder. Default is 'C:\\Program Files\\Citrix'.
Required? false
Position? 2
Default value C:\\Program Files\\Citrix
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Enable-CTXVDALogging
This will enable logging to the path 'C:\\XDLogs'. Log file will not be overwritten. VDA is installed in folder
'C:\\Program Files\\Citrix'.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Enable-CTXVDALogging -LogPathFolder '\\\\server\\share' -OverwriteLogFile
This will enable logging to the path '\\\\server\\share'. Log file will be overwritten each time the service
restarts. VDA is installed in folder 'C:\\Program Files\\Citrix'.
RELATED LINKS
SYNOPSIS
Enables Citrix virtual desktop agent logging
SYNTAX
Enable-CTXVDALogging [[-LogPathFolder] <String>] [-OverwriteLogFile] [[-InstallFolder] <String>]
[<CommonParameters>]
DESCRIPTION
PARAMETERS
-LogPathFolder <String>
Path to the folder where the log should be saved. If the folder is not present the script will create it for
you. Default is C:\\XDLogs.
Required? false
Position? 1
Default value C:\\XDLogs
Accept pipeline input? false
Accept wildcard characters? false
-OverwriteLogFile [<SwitchParameter>]
Enabling this parameter will overwrite the log file each time the virtual desktop agent service is started.
Default is false.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-InstallFolder <String>
If you did not install the virtual desktop agent in the default directory please provide the installation
folder. Default is 'C:\\Program Files\\Citrix'.
Required? false
Position? 2
Default value C:\\Program Files\\Citrix
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Enable-CTXVDALogging
This will enable logging to the path 'C:\\XDLogs'. Log file will not be overwritten. VDA is installed in folder
'C:\\Program Files\\Citrix'.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Enable-CTXVDALogging -LogPathFolder '\\\\server\\share' -OverwriteLogFile
This will enable logging to the path '\\\\server\\share'. Log file will be overwritten each time the service
restarts. VDA is installed in folder 'C:\\Program Files\\Citrix'.
RELATED LINKS