Hello everyone. I have gathered all my presentations (slideshares) and published them in one place. Link to all my speeches is here but you can also use the menu above.
One speech also including recorded session – from infraXstructure 2016 conference.
If you test it and like it, please post here your opinion and share this tool with your colleges. You can also follow me on Twitter or Facebook to receive updates about this tool.
Here is short script how to list all VMs (or hosts or other objects) from VMM with Custom Properties. You can also export such table to CSV format to import it in Excel and do some calculations.
When you want to list Custom Properties you have to use this CMDlet:
But what to do, when you assign more then one desktop (from the same Delivery Group) to one user. By default he will see each desktop with additional number – (1), (2), (3), … It’s annoying and might be confusing for users. Of course, still you can click on Details, but sill, it’s not a good solution.
It such case we can use attribute PublishedName in Desktop Machine object. By default it’s empty, but when you fill it with name, this value will be presented in StoreFront. Here is the PowerShell script.
PublishedName – Changes the name displayed to the user for this desktop. When this setting is $null, the name displayed is determined by the PublishedName of the desktop group.
As you can see, to revert the settings just set this attribute to $null value.
Important notice. This trick can be used only for Private Desktops.
When you are deploying PVS infrastructure based on Hyper-V you can observe Blue Screen (BSOD) during VM boot. SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (CVhdMp.sys).
It’s caused by incorrect streaming NIC identifier. The same issue you can observe, when you create new VM with existing disk (and OS). This problem was described in MSDN post:
PS C:\> Get-NetAdapter | select ifDesc, ifAlias, PnPDeviceID
ifDesc ifAlias PnPDeviceID
------ ------- -----------
Microsoft Hyper-V Network Adapter #2 Data VMBUS\{F8615163-DF3E-46C5-913F-F2D2F965ED0E}\{38A2857B-7740-47D9-BE64-53561AD3F981}
Microsoft Hyper-V Network Adapter Streaming VMBUS\{F8615163-DF3E-46C5-913F-F2D2F965ED0E}\{E5D7B629-A61A-4788-9304-E192F3F8B8F6}
OK, that’s strange. This ID is in complete different format then it should be. The second part of this description is generated randomly for each new Virtual Machine. And this cause the problem. When you create the image – using PVS Imagining Wizzard – GUID for streaming network adapter is stored. When we create new VM (on Hyper-V) is will get the new GUID and when we try to boot it Windows can’t find the proper NIC and just crash (BSOD).
John also pointed, that this ID is stored in VM XML file. But it’s not supported just to change it right there.
This GUID remain when you clone the VM. So unfortunately, you have to grab the image from one VM and then you have to clone it as many times as you need Target Devices.
Last year, during 6th Polish Citrix User Group Meeting in Cracow I had a presentation titled “Complete Citrix environment monitoring“.
I know, that good and complete environment monitoring (both infrastructure and application layer) is a hard to achieve.
In the past I used PowerShell scripts and RRDtool to monitor some part of the whole environment (ie. monitoring Citrix licenses). It was good, but it doesn’t cover the whole spectrum. That’s why I moved to Splunk.
And finally, after almost one year (after PLCUG meeting) I decided to share some part of the scripts and help you to achieve the same as I did.
If you want to be informed about new monitoring parts – follow me on Facebook or Twitter. And please leave a comment presented topic is interested for you and you want more Image may be NSFW. Clik here to view.
If you think, that such monitoring is cool and useful, but you don’t know how to do this by your own. Or you don’t have enough time to to this, please contact me. I can consult it with you.
During OCP Summit 4 companies had a chance to share their journeys with OCP gear. One of them was ING Bank Śląski S.A. (Poland), and I was one of the speaker (the second speaker was Mikołaj Kujawa).
As soon as OCP Fundation will post all recorded presentation on Youtube channel I will also put here this record. And till now, here are some pictures from it.