If you haven’t noticed yet Carl Webster is building a script selection to document your Citrix environment on his website: CarlWebster.com and he was looking for testers for his scripts. I volunteered to run some scripts for Carl to complete them and make sure Carl got the input he needed.
After his call on twitter for testers I asked him for the script to get it running on my lab environment.
After installing PVS7 and configuring some bogus information I tried to run the script but it gave me an error about missing the McliPSSnapIn (which is good as the script needs this PSSnapIn).
I found the following blogpost PVS PowerShell McliPSSnapIn which basically says:
Start a command prompt with Run as Admin and run the following commands
For 32bits Windows:“C:\Windows\Microsoft.NET\Framework\v2.0.50727\installutil.exe” “C:\Program Files\Citrix\Provisioning Services Console\McliPSSnapIn.dll”
For 64bits Windows:[crayon-5c0ff29ddcea7645836892/]
As I’m running PVS on a Windows 2008R2 system I used the second command to register the .dll but I got an error stating the path could not be found but the weird thing was that I was able to change the dir in DOS to the right path and the exe was there.
I didn’t wanted to let this take up a lot of time so I reverted back to one of my demo environments and I got the same weird error. I tried to copy the DLL into the v2.0.50727 directory and run the registration command from there, that worked but I got a couple of errors stating that some DLL’s could not be found. In the end the solution that did work for me (and it’s not a pretty one but as it was my lab environment I wasn’t really bothered) was to copy the installutil.exe to “C:\Program Files\Citrix\Provisioning Services Console\” directory and run:
Latest posts by Kees Baggerman (see all)
- NVIDIA GPU on AHV: The options (Video included) - December 6, 2017
- XenServer and Nutanix: Insights on the how - September 7, 2017
- Making sure your Citrix Desktops are utilized with Powershell v2 - September 6, 2017
- Protecting your Citrix desktops on Nutanix using powershell - August 4, 2017
- Citrix Provisioning on Nutanix AHV [Updated with PVS support for AHV] - June 28, 2017