Reset XenDesktop VM name count

NOTE: For this to work the commands need to be executed via the PowerShell console in Citrix Studio. The normal PowerShell interface won’t work.

How to install the correct Hyper-V agent for your System Center installation

On the SC server, the agents to install on the Hyper-V hosts are located
under the following folder (change based on versions you want):
C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\agents\Amd64\<VERSION>\vmmAgent.msi

Like so:
===========
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\administrator>dir “C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\agents\Amd64\3.2.7672.0\vmmAgent.msi”
ドライブ C のボリューム ラベルがありません。
ボリューム シリアル番号は AC69-DFC1 です

C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\agents\Amd64\3.2.7672.0 のディレクトリ

2014/06/27 22:53 8,142,848 vmmAgent.msi
1 個のファイル 8,142,848 バイト
0 個のディレクトリ 83,961,167,872 バイトの空き領域

C:\Users\administrator>

Get the command line calendar to display week numbers

Normal calendar:

jonas@nyx:~$ cal
    October 2014      
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31     

Display the whole year:
      
jonas@nyx:~$ cal 2014
                            2014
      January               February               March          
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  
          1  2  3  4                     1                     1  
 5  6  7  8  9 10 11   2  3  4  5  6  7  8   2  3  4  5  6  7  8  
12 13 14 15 16 17 18   9 10 11 12 13 14 15   9 10 11 12 13 14 15  
19 20 21 22 23 24 25  16 17 18 19 20 21 22  16 17 18 19 20 21 22  
26 27 28 29 30 31     23 24 25 26 27 28     23 24 25 26 27 28 29  
                                            30 31                 

       April                  May                   June          
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  
       1  2  3  4  5               1  2  3   1  2  3  4  5  6  7  
 6  7  8  9 10 11 12   4  5  6  7  8  9 10   8  9 10 11 12 13 14  
13 14 15 16 17 18 19  11 12 13 14 15 16 17  15 16 17 18 19 20 21  
20 21 22 23 24 25 26  18 19 20 21 22 23 24  22 23 24 25 26 27 28  
27 28 29 30           25 26 27 28 29 30 31  29 30                 
                                                                  

        July                 August              September        
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  
       1  2  3  4  5                  1  2      1  2  3  4  5  6  
 6  7  8  9 10 11 12   3  4  5  6  7  8  9   7  8  9 10 11 12 13  
13 14 15 16 17 18 19  10 11 12 13 14 15 16  14 15 16 17 18 19 20  
20 21 22 23 24 25 26  17 18 19 20 21 22 23  21 22 23 24 25 26 27  
27 28 29 30 31        24 25 26 27 28 29 30  28 29 30              
                      31                                          

      October               November              December        
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  
          1  2  3  4                     1      1  2  3  4  5  6  
 5  6  7  8  9 10 11   2  3  4  5  6  7  8   7  8  9 10 11 12 13  
12 13 14 15 16 17 18   9 10 11 12 13 14 15  14 15 16 17 18 19 20  
19 20 21 22 23 24 25  16 17 18 19 20 21 22  21 22 23 24 25 26 27  
26 27 28 29 30 31     23 24 25 26 27 28 29  28 29 30 31           
                      30                                          
jonas@nyx:~$ 

But what if you want to see the weeks?
jonas@nyx:~$ ncal -w
August 2014
Su 3 10 17 24 31
Mo 4 11 18 25
Tu 5 12 19 26
We 6 13 20 27
Th 7 14 21 28
Fr 1 8 15 22 29
Sa 2 9 16 23 30
30 31 32 33 34 35