Quantcast
Channel: R&D Forums
Viewing all articles
Browse latest Browse all 9995

PowerShell • Get servers status

$
0
0
Hello,

I would like to check the status of my differents components like repositories, proxies, NAS, ...

On the GUI, I can see allof these :
Nothing mentioned = OK
disabled
unavailable
Out of date.

Let's take proxy as sample :

Code:

$Proxies = Get-VBRViProxyforeach ($proxy in $proxies){    [PSCustomObject]@{        Name = $Proxy.Name        Server = $Proxy.Host.Name        IsAvailable = -not ($Proxy.Host.IsUnavailable)        IsEnabled = -not $Proxy.IsDisabled    }}
I think here I have the Disabled + Unavailable check but how can I check for the "nothing mentioned" or Out of date ?

Statistics: Posted by matteu — Apr 29, 2025 7:51 am



Viewing all articles
Browse latest Browse all 9995

Latest Images

Trending Articles



Latest Images