Powershell–How to query HP smart array for disk health check?

There is no direct Powershell module for HP servers available yet but the CLI tools can help us here. You can also use SCOM where a management is available for HP to monitor health of HP hardware. if you have not SCOM running we can work with Powershell and execute the HP CLI tools and…


Powershell-Generate Automated CSVFreespace and Memory Report

This script relies the Hyper-V clusters are been managed by VMM but if you do not use VMM you can also modify based on your environment. It should just give you an idea how to collect data and use sentmail function to get a daily report of your resource status. Note: script version 1.3 is…


Powershell–How to monitor HP Smartarray disk status?

really a quick one and straight forward but sometimes very useful. here is a quick example how you can monitor your smartarray controller disk status and in case of “Failed” drive detected sent a mail out to you with the summary. Of course, SCOM has also automated capabilities to monitor HP hardware components in a…

2

Powershell-How to easily verify patch level between computers

Compare patches between computers? Here is a quick and easy way how you can verify this with Powershell $node1 = Get-HotFix -ComputerName SERVER1 $node2 = Get-HotFix -ComputerName SERVER2 Compare-Object -ReferenceObject $node1 -DifferenceObject $node2 -Property HotFixID Example Output: HotFixID                                                    SideIndicator ——–                                                    ————- KB2862152                                                   => KB2876331                                                   => KB2884846                                                   <= KB2892074                                                   <= KB2894029                                                   => The Compare-Object cmdlet compares…


Powershell – How to get total VM memory overview (dynamic, static and startup memory) per node in a cluster?

Host Memory Pressure – I think this is one of the keys (in addition to storage, network, CPU) in performance when running virtualization with dynamic memory and should be monitored. An balance between high density of running VMs on a host and memory calculation/demand is something to consider when managing self service clouds and/or running…