Comments on: A PowerShell Based Hyper-V Health Report https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/ Hyper-V guides, how-tos, tips, and expert advice for system admins and IT professionals Wed, 31 Mar 2021 06:28:44 +0000 hourly 1 By: Jeffery Hicks https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-3796 Tue, 24 Nov 2020 21:21:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-3796 In reply to Andrew.

On Windows 10 you need to add the Hyper-V Management tools feature.

]]>
By: Jeffery Hicks https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-3795 Tue, 24 Nov 2020 21:19:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-3795 In reply to narendra.

My commands are designed for the native Hyper-V cmdlets. Looks like you are using the System Center commands which share the same name but are different commands.

]]>
By: Jeffery Hicks https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-3794 Tue, 24 Nov 2020 21:18:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-3794 In reply to Nazakat.

There are no direct download links. You should be able to copy code from page.

]]>
By: Jeffery Hicks https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-3793 Tue, 24 Nov 2020 21:15:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-3793 In reply to Shweta Agarwal.

I’m not aware off the top of my head of cmdlets for managing those things. This is the kind of thing that is vendor dependent.

]]>
By: Jeffery Hicks https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-3780 Fri, 13 Nov 2020 22:05:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-3780 In reply to Mark56.

I would not be running the scripts ON the server. They are written to be run from an admin desktop. You could be running into 2nd hop issues or authentication. You should be able to run the last code listing from your desktop,. changing variables as needed.

]]>
By: Jeffery Hicks https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-3778 Fri, 13 Nov 2020 21:54:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-3778 In reply to Tim.

I don’t use replication, so I haven’t gotten around to adding it.

]]>
By: Jeffery Hicks https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-3776 Fri, 13 Nov 2020 21:44:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-3776 In reply to Mohammad.

You don’t edit the file. What I’m showing is how you would loop through a list of names and call this script.

]]>
By: Mohammad https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-336 Sat, 08 Feb 2020 15:40:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-336 In reply to Jeffery Hicks.

Where in the code would you place this loop for I also have multiple remote servers in a .txt file that I would like to generate a report for. Thank you in advance!

]]>
By: Tim https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-175 Thu, 06 Feb 2020 19:44:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-175 Did you ever get a chance to go back and add in Hyper-V Replication check in to your Health Report Powershell Script

]]>
By: Mark56 https://www.altaro.com/hyper-v/a-powershell-based-hyper-v-health-report/#comment-1815 Thu, 06 Feb 2020 15:35:00 +0000 http://hub.altaro.com/hyper-v/?p=4554#comment-1815 Good Day, I have been getting into some Powershell on our physical servers and developed a routine that would get the hard drive space and the Event Viewer Warning messages to work for all of our servers.
Now we are getting into the Hyper-V server building and of course I have now been asked to see about providing information on then in a morning email as well.
This Hyper-V Reporting script with the email script listed is coming close to what I am needing but not being a Powershell expert by any means I am having a problem with getting our second Hyper-V server to be evaluated. It does the Server1 twice.
My c:scriptsNew-HVHealthReport.ps1 is on Server1 and Server2 does not have any PS scripts on it.
I maybe messing up on the email line of: $computers = $env:computername,”chi-hvr2.globomantics.local”

In my old PS script, I had a text file that had my server names that I used to gather the information on each server remotely. We have the two Hyper-V servers with two VM’s on each for now and 6 other physical servers.
Please help point me in the error Tm not getting the second HV server to get reported. Thank you for your time in not only developing this very nice script but in taking the time to help out those of us that only do server admin as a secondary job.

]]>