Hyper-V Cluster - Updates/Driver/Firmware Consistency Report

V 1.1 ReleasedA PowerShell script for Hyper-V Administrator to identify the consistency of Windows Updates, HBA Drivers, HBA Firmware, Network Interface Drivers etc. This is the first version. Please provide your feedback as comments. Also if let me know if you would like to se

 
 
 
 
 
4.3 Star
(3)
1,277 times
Add to favorites
Servers
11/5/2014
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • in v1.1 version, bad name at the beginning
    1 Posts | Last post February 11, 2016
    • hello
      
      just for your info, there are typo errors at the beginning of your v1.1 script, in the section where clustername must be changed:
      here 
      >>
      $Nodes = Get-ClusterNode -Cluster YOURCLUSTERNAME  
      $Count = $Nodes.Count
      Get-ClusterNode -Cluster cs-mshv-clu6 |Foreach {$MasterUpdateList = $MasterUpdateList + (Get-HotFix -Computer $_.Name).HotfixID} 
      <<<<
      
      It lacks the variable $cluname  and the line "Get-ClusterNode -Cluster cs-mshv-clu6 ..." contains a hardcoded name of cluster (cs-mshv-clu6) .
      
      The good lines should be:
      $Cluname = "YOURCLUSTERNAME"
      $Nodes = Get-ClusterNode -Cluster $Cluname
      $Count = $Nodes.Count
      Get-ClusterNode -Cluster $Cluname |Foreach {$MasterUpdateList = $MasterUpdateList + (Get-HotFix -Computer $_.Name).HotfixID} 
      
      Otherwise your script is really great.
      Good job.
      JB VERNEJOUX
  • Proxy Authentication
    2 Posts | Last post July 06, 2015
    • Hi,
      
      Thanks for the script. It works well. I did however have an issue with Proxy Authentication so I just added a bit with the proxy details. Maybe your new version could cater for a proxy :)
      
      $secPasswd=ConvertTo-SecureString "PASSWORD" -AsPlainText -Force
      $myCreds=New-Object System.Management.Automation.PSCredential -ArgumentList "DOMAIN\USERNAME",$secPasswd
      
      $TechnetWikiPage = Invoke-WebRequest "http://social.technet.microsoft.com/wiki/contents/articles/20885.hyper-v-update-list-for-windows-server-2012-r2.aspx" -Proxy 'http://PROXY:PORT' -ProxyCredential $mycreds
    • Thanks for that code. I will include this if I release a new version. At this point, I dont have any plans as I am yet to start thinking what enhancements needed for the new release.
      
      Cheers.
      Shaba
  • Null Array?
    6 Posts | Last post November 17, 2014
    • Any Idea why I would get this error?  I only change the couple of lines from your instructions.
      
      Cannot index into a null array.
      At C:\scripts\HyperV-ClusterNodeConsistencyCheck - V1.0.ps1:308 char:5
      +     [array] $InstalledUpdates = Get-Hotfix -ComputerName $Node.Name[$l]
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
          + FullyQualifiedErrorId : NullArray
    • Hi,
      Could you please let me know if the script has edited with the cluster name ?
      
      Edit the script - Line 7 and add your cluster name.
      
      $cluname = "NameOfYourCluster"
      
      
      Cheers !
      Shaba
    • Hi,
      
      Same error here.
      I have edited the line 7 of the script 
    • Thanks for the feedback.
      I am checking this now and will let you know soon.
      
      Shaba
    • Hi EggFart2Stinky / damien.ancian
      
      Please try with the new version V1.1 and let me know.
      
      Cheers.
      Shaba
    • hi,
      
      everything works fine with the version 1.1
      Thx