Tags
2008R2 Access List ACL activate by phone active directory ActiveSync ACU Address list alarms Anonymous relay array backup cacls catch cd-key cisco Citrix CUSD DAG dismount iso dns Exchange Fortigate Fortinet function get-eventlog get-snapshot get-vm HPE 3PAR Linux Lync microsoft Permissions powercli Powershell Powershell agent PSA PuTTY registry script UCS Director vmware Windows 7 Windows Server Zenoss-
Recent Posts
Recent Comments
- Mark Cloney on PowerCLI: Getting vmhost uptime
- Pierre Wong on Powershell: Listing activated clients on KMS server
- Ian on “The given Key was not present in the dictionary” error when running Group Policy Modeling
- Ian on “The given Key was not present in the dictionary” error when running Group Policy Modeling
- Wasim on Resetting the Discretionary Access Control List (DACL) in a Windows Service security descriptor
Categories
- Ad
Tag Archives: alarms
PowerCLI: Getting datastore alarms
Next in the series on getting alarms is getting datastore alarms. Again, the code is pretty similar: $Datastores = Get-View -ViewType Datastore -Property Name,OverallStatus,TriggeredAlarmstate $FaultyDatastores = $Datastores | Where-Object {$_.TriggeredAlarmState -ne “{}”} $progress = 1 $report = @() if ($FaultyDatastores … Continue reading
Posted in PowerCLI, Powershell, VMware
Tagged alarms, function, get-datastorealarms, powercli, Powershell, vmware
PowerCLI: Getting cluster alarms
The next step in my short series on getting vCenter alarms using PowerCLI is to get cluster alarms. Here’s the code: $Clusters = Get-View -ViewType ComputeResource -Property Name,OverallStatus,TriggeredAlarmstate $FaultyClusters = $Clusters | Where-Object {$_.TriggeredAlarmState -ne “{}”} $report = @() $progress … Continue reading
Posted in PowerCLI, Powershell, VMware
Tagged alarms, function, get-clusteralarms, powercli, Powershell, vmware
PowerCLI: Getting host alarms
Yesterday I wrote a post about getting vm alarms through PowerCLI. Today it’s time for getting host alarms The code is very similar to the one for getting vm alarms, since they both use get-view to grab all info: $VMHosts … Continue reading
Posted in PowerCLI, Powershell, VMware
Tagged alarms, function, get-vmhostalarms, powercli, Powershell, vmware
PowerCLI: Getting vm alarms
A few weeks ago I started to put together a health check script for our vmware environments and the first thing I wanted to have in that report is a list of triggered alarms. To my surprise there was no … Continue reading
Posted in PowerCLI, Powershell, VMware
Tagged alarms, function, get-vmalarms, powercli, Powershell, vmware