I am writing a powershell scrip that checkes to see is an application is up or down via a rest call... It seems that SW expects a integer value returned. So how do I make it pik up UP or DOWN and then alert on that? I am currently using a 1 or 0 and then alert on that, is that the only way?
↧