< Back
Enable-CTXControllerLogging
Post
NAME Enable-CTXControllerLogging
SYNOPSIS
Enables logging of the Citrix controller services
SYNTAX
Enable-CTXControllerLogging [[-LogPathFolder] <String>] [-OverwriteLogFile] [[-InstallFolder] <String>]
[<CommonParameters>]
DESCRIPTION
PARAMETERS
-LogPathFolder <String>
Path to the folder where the losg 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 files each time the controller services are 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 Citrix controller 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-CTXControllerLogging
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-CTXControllerLogging -LogPathFolder '\\\\server\\share' -OverwriteLogFile
This will enable logging to the path '\\\\server\\share'. Log file will be overwritten each time a controller service
restarts. Controller is installed in folder 'C:\\Program Files\\Citrix'.
RELATED LINKS
SYNOPSIS
Enables logging of the Citrix controller services
SYNTAX
Enable-CTXControllerLogging [[-LogPathFolder] <String>] [-OverwriteLogFile] [[-InstallFolder] <String>]
[<CommonParameters>]
DESCRIPTION
PARAMETERS
-LogPathFolder <String>
Path to the folder where the losg 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 files each time the controller services are 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 Citrix controller 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-CTXControllerLogging
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-CTXControllerLogging -LogPathFolder '\\\\server\\share' -OverwriteLogFile
This will enable logging to the path '\\\\server\\share'. Log file will be overwritten each time a controller service
restarts. Controller is installed in folder 'C:\\Program Files\\Citrix'.
RELATED LINKS