Return / Exit Code for Warning? #1586
-
Hi All! I'm writing some check scripts. They are all working perfectly, almost. I only know the the 2 return codes 0 (success) and 1 (error). In PS script theis means "exit 0" or "exit 1". Is there a return code for a warning (yellow)? The result of the scripts are not worth to mark a server in red. THX |
Beta Was this translation helpful? Give feedback.
Answered by
silversword411
Aug 7, 2023
Replies: 1 comment 1 reply
-
Checks only support If you want warning, use a task |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
HaKvi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checks only support
i
, pass, and fail atmIf you want warning, use a task