Compare Directory with Powershell no Winmerge required
Windows Power shell has a built in compare-object function. This is very handy for common tasks like comparing directorys.Here is a simple script to compare file directory$Dir1 = Get-ChildItem -Recurse...
View ArticleCompare File Permission with powershell instead of calcs , xcacls, Icacls
The following Powershershell is handy, it will compare 2 directories ACLs and report any differences.#CompareNetworkACL.ps1[System.IO.FileInfo] $outputFile =...
View ArticleCitrix Storefront AV Settings
The following are some additional Storefront AV exclusions that can be considered in the event that you are getting "Cannot complete request" error messages at logon. \inetpub\temp\IIS Temporary...
View ArticlePrevent Citrix Receiver Pop Up Asking for Logon credentials
Citrix receiver has an annoying habit of prompting for user credentials when it try's to connect to a storefront store. This can happen when a user is not even attempting to use the Reciever.This...
View ArticleCitrix Storefront Tweaks
There are a number of settings that should be reviewed for a Storefront Installation.This blog gives a great list of each along with how to set the...
View ArticleForce Citrix Sessions Full Screen
The Citrix Receiver remembers the windows settings and size for each connection.These are stored inHKCU\Software\Citrix\Xendesktop\DesktopViewer\{resourcename}If you want to override all of the...
View ArticleStorefront 3 - Cannot complete your request
I experienced the 1st connection to a storefront store each day gave the user a "Cannot complete your request" messageIf they user clicked to logon again it is successful.The eventvwr showed Event ID...
View ArticleCitrix XenApp 7 - Application not running
When looking at a recent XenApp 7 environment i noticed a number of disconnected users listed with a strange session state of "Application not running"After examining these user sessions i could see...
View ArticleCitrix ICA file behaviour (some of it)
When connecting to a Citrix environment the connection between end-point and resource is established via an ICA file. (receiver for web)The ICA file is generated by storefront and delivered back to the...
View ArticleCitrix Session reliability screenshot of the user experience
The Citrix Session reliability feature has been around for ages. It has changed its behavior a bit recently dependent on Citrix Receiver Version. The following show the differences for the end-user...
View ArticleSmart Mirror Sales
On a slight different subject to normal I have launched a Smart Mirror product on my website www.MySmartMirror.co.uk This product runs an android based app to display handy information to users.This is...
View ArticleUse VBS to remote execute powershell on a device (even if remote powershell...
Sometimes you will want to execute some powershell script on a machine , but most IT systems now block remote powershell as its to big a security risk. Also the normal IPC$ are also often disabled...
View ArticleCitrix Upgrade Workflow
The following is a handy workflow for the Citrix Workflow upgrade.
View ArticleCompare AD group Computers and XD Computers
I wanted to check an managment AD group contained all the servers from my XD site.Get AD Group membersget-adgroupmember "group name" | ft name,objectguid | out-file C:\temp\servers.csvGet XD Server...
View ArticleCitrix Xendesktop test SQL database failure - DR Test
To simulate a loss of the database connection perform the following.LHC should allow the environment to continue.HKLM\Software\Citrix\DesktopServer\LHC\OutageModeForced Set to 1.
View ArticleCitrix Xendesktop LHC v Connection Leasing - Xendesktop 7.15 Upgrades
Local Host CacheXA 7.9 onwards support Local host Cache Mode. This is an improvement over connection leasing. However only new installs perform the switch over. To disable connection leasing and enable...
View ArticleBatch File Loop X times
Run a Batch command X timesThis will loop 100 times. Start at 1, count in 1's until you get to 100.for /l %%x in (1, 1, 100) do (do thisdo that)
View ArticleXendesktop power State unknown
A POWER STATE UNKNOWN is quite likely to be produced in the event of change to VMs on the hyper-visor that breaks its connection with Xendesktop. This commonly occurs with a VM GUID change.You need to...
View ArticleArticle 0
Rebuild WMI We have sometimes found the WMI classes are blank or corrupt.The following steps can rebuild your WMIDisable and stop WinMgmt servicerename C:\windows\system32\wbem\repositoryEnable the...
View ArticlePowerShell window pauses running code due to focus change
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...
View ArticlePowershell Sleep with GUI feedback - Powershell Sleep Feedback timer
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...
View ArticleCitrix Release Years
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...
View ArticleWindows Server loses Domain Trust - Aka falls out Domain - Repair it with...
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...
View ArticleCitrix Information available in Session (NameSpace)
We can use Namespace Info to get some information on a VMThis can be handy for getting some awareness within windows. gwmi -Namespace root\citrix\desktopinformation -class...
View ArticleInstall Vmware Powershell Snap Ins
You should be able to grab the VMware powershell snap-ins download from the Vmware site. These are just a bunch of files. run $env:psmodulepath to see a list of paths you can place the modules....
View Article