Citrix XenApp 6.5 Configuration Logging PowerShell Automation
- Nathan Browne
- Apr 28, 2015
- 1 min read
The configuration logging database now has some commands within the Citrix PowerShell Snapin to help automate some of the tasks. The following 4 steps should make it a bit easier for you. You will only need to do this once, usually on the first server in the farm or a designated server depending on the size of the farm.
Run the powershell snapin as an administrator who has access to the SQL database and replace the text in red and yellow with the appropriate values in your organisation.
1. Load Citrix Powershell Snapins
Asnp Citrix.*
2.Enter Your Credentials (you will be prompted for credential)
$PSCredential = Get-Credential $Credential
3.Setup the Config Logging Database (Run Powershell as User with Credentials to Access SQL)
Set-XAConfigurationLog-LoggingEnabled $true-ChangesWhileDisconnectedAllowed $true-CredentialsOnClearLogRequired $true-DatabaseType SqlServer-AuthenticationMode Integrated –DatabaseUser $PSCredential -ConnectionString "Server=<SQL SERVER>;Database=<SQL DATABASE>;User ID=<DOMAIN>\<USERNAME>;Password=;Trusted_Connection=True;Encrypt=False;"
4.Once completed, you will need to log into Citrix AppCenter and enter the farm properties to connect to the Config Logging database.
Helpful Commands
Clear the Config Logging DB : Clear-XAConfigurationLog
Recent Posts
See AllWe recently had an issue on site where a random couple of servers where experiencing Terminal Server Licence issue. The servers in...
After quite a few people grumbling about not being able to do much customisation of Task Manager within Windows, especially in a Citrix /...
The Script below can be used within AppSense Application Manager to check if the local machine is a member of a specific group. This can...
コメント