sacha81 / citrix-pvs-healthcheck

Citrix PVS Healthcheck
http://blog.sachathomet.ch/happy-new-script-pvs-7-7-healthcheck/
17 stars 9 forks source link

errors for turned off devices #26

Open sacha81 opened 5 years ago

sacha81 commented 5 years ago

Hi,

i´m getting an few errors if i enable the TargetDeviceCheck.

Get-PvsDiskInfo : The specified vDisk does not exist. At C:\Healthcheck\Farm_Health.ps1:683 char:15

Only happens for devices which are currently turned of. Seems not te be a problem but incresses the time the script is running. Maybe there schould be an check if the Target is online bevore performing the vdisk-check on the Target.

Regards

Stefan

shebernwit commented 5 years ago

image