With each new version of XenDestop comes the inevitable changes to the SDK large enough so would not it be nice if we quickly and easily view the changes ie check what new applets were added and what cmdlets were removed between XD releases?
Of course, the answer is yes and this is something I watched this week as I began to prepare the release of training for XD7 .1.
Through the provision of training, I wanted to be able to inform our support engineers on the changes to the SDK and highlight all that I find particularly useful. With time in short supply, I wanted to do it quickly, but also have fun ...
Example: Tracking Changes to cmdlets available between XD7 and XD7.1 TP
Step 1 .
Export the complete list of cmdlets for each Citrix XD text file version using the following commands :.
get-command -module citrix *> c: xd7cmdlets.txt
get-command -module citrix *> c :. Xd71cmdlets.txt
Step 2.
Use Notepad ++ to remove any unwanted columns so you just left with the NAME column in each text file:
notes : for this you will need to maintain Alt while selecting content the file to delete do ...
Click on screenshot to see the picture
Step 3.
Use a file comparison tool to compare the differences between two files. I prefer to use a tool called WinMerge - It is open source and freely available
Once installed, you can select two files to compare and click OK :.
At first glance, you will notice obvious differences in the listed applets, but the view is pretty crowded and the comparison is not very easy to achieve the cmdlets are not identical ordered:
click screenshot to see the picture
to solve this problem and control applets click correctly on change - options and modify Whitespace settings Ignore all and click OK
Click on screenshot to see the picture
After Whitespace setting was set to Ignore all the cmdlet order will be set correctly and it becomes very easy to compare and see what cmdlets were removed (if any) and what new applets have been added with the 7.1 update to the SDK:
Click for screenshot see picture
now that you know what cmdlets have been added you can now dive in and take a look at the POSH integrated help files to see what these applets are all about.
Why not try to go further and see if you can find all the amendments to the detailed help files for the entire SDK? It will take a little more work and understanding of how to use WinMerge, but it might be worth the effort, especially if find little gems like -Force switch is now available when resetting the DB connection strings.
Note: To export the SDK Inc. complete folders full assistance using the following commands :.
get-command * -module citrix | Get-Help -full | out-file c :. XD7help.txt
get-command * -module citrix | Get-Help -full | out-file c: XD71help.txt
Best regards
Mick Glover (aka Tipster XD)
Senior Specialist of preparation,
Worldwide support [EMEA]
Citrix Systems, Inc.
Follow @xdtipster
0 Komentar