This can be handy for getting some awareness within windows.
gwmi -Namespace root\citrix\desktopinformation -class Citrix_VirtualDesktopInfo
- This will shows
- Site Name
- Catalog Name
- Delivery Group Name
Cloud Application and Desktop Virtualization Blog.
This can be handy for getting some awareness within windows.
gwmi -Namespace root\citrix\desktopinformation -class Citrix_VirtualDesktopInfo
I have often seen server and workstations fall out of the domain.
Detecting this is hard and i will post back if i find something.
But fixing can either be done manually or via script.
I see Controlup providied a script.
Shame is i dont think you will be about to remote execute it due to the nature of the issue.
Anyway check out the script
https://www.controlup.com/script-library-posts/repair-machine-domain-trust-relationship/
After preparing for an interview i was thinking about how long i have been working on Citrix products.
So to be sure i asked ChatGPT for release years. It didnt do a very good job, so heres a tidy list.
the short answer though for me is 20+ years oif experience.
Citrix Metaframe XP - Released 2002
Presentation Server - Released 2005
XenApp 6 - Released 2010
XenApp 6.5 - Released 2012
Xendesktop - Released 2013
CVAD - Released 2018
We often need pauses or sleep in our powershell scripts.
However it can be annoying not to know where the sleep or pause is at.
The following function gives a visual GUI feedback of the sleep in the script
Example here (30 seconds remaining)
To acheive this add this function to your script, and call it with the command
sleep-progress 30
PowerShell window pauses due to focus change - This is very annoying if your running log scripts on your daily machine , as you want to minimise powershell and expect it to crack on, but it often pauses and needs you to hit a key for it to continue.
you almost get dragged back to the 1980s "Press any key to continue" memorys
How to resolve it
Remove " Quickedit Mode"
Remove "Insert Mode"
I know these are very handy features to have on. BUT these need to be disabled to make the window reliable.
Rebuild WMI
We have sometimes found the WMI classes are blank or corrupt.
The following steps can rebuild your WMI
Disable and stop WinMgmt service
rename C:\windows\system32\wbem\repository
Enable the WinMgmt Service
change path to c:\windows\system32\wbem
run for /f %s in ('dir /b *.mof) do mofcomp %s
run for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s