Original Post The first script I wrote was from before Citrix added real powershell functionality into PVS. This new script leverages the new powershell module. I am not exactly sure when they first added this into PVS (if you know please comment below), but this was developed using PVS 7.12. Pay attention to comments marked […]
Problem: In my environment I have about 300 provisioned desktops, and when I update the vDisk sometimes it can take a while (days) before all of the VMs get the latest version. Especially, in the case of a roll back I need a good way to get all of the VMs which are on the […]
I recently ran into an issue after upgrading my XenDesktop environment to 7.12 from 7.11. Prior to that update I was able to create MCS desktops in my XenServer pool with no issues. After upgrading to 7.12 the newly created VMs would not register with the delivery controller, and according to XenServer they did not […]
Environment XenApp 7.6 700+ Delivered (published) Applications 60+ Windows servers (2008 R2 and 2012 R2) Scenario Recently I had a request to replicate 100+ applications from PROD to QA, using QA server configured with identical applications and identical application locations/paths. Obviously all paths to EXE files need to be the same in order for this […]
As in my previous post we are querying the Citrix monitordata tables in SQL instead of doing web queries against ODATA because it is super fast. The script needs to run as a user who has at least read rights to the database. Just like the original it will query the monitordata tables to gather […]
CLICK HERE FOR UPDATED VERSION My boss wanted a report to show the usage of our XenDesktop environment (desktop sessions only), so I wrote a script that queries the delivery controller once per minute to get sessions. It then writes that information to an .xml file, and then I have another script that reads the […]
This will be short and sweet (hopefully sweet). If you have a session recording server setup you may notice that the entries/files don’t go away on their own. Here is how to clean them up: Just create a scheduled task to run the code below once per day (as system – elevated): C:\Program Files\Citrix\SessionRecording\Server\Bin\icldb.exe remove /RETENTION:7 […]
If you have tried to use Windows 10 in XenDesktop with Citrix Profile Management you have probably run into two major issues. The Issues The first issue is the start menu… which is now a database located at %localappdata%\TileDataLayer\Database. At logoff when profile manager tries to copy it off it can’t due to services locking the […]
Have you ever excluded a directory after the fact, and realized that Citrix Profile Manager does not remove the directory from the store? Have you noticed “AppData\Local\Microsoft\Internet Explorer\DOMStore” or “AppData\Roaming\Microsoft\Windows\Recent” filling up with tons of small files/empty folders – most of which are old as dirt (delaying logon)? Have you pulled out your hair over […]
As a Citrix CSP, having a good set of scripts to deploy a base environment is critical. Setting up 50 environments by hand would take far more time than with good scripting. Now that I’ve finally had some time to sit down and not be working on 6.5 stuff, I have been able to write […]