AndyHill Posted March 1, 2022 Posted March 1, 2022 Two questions. 1. Is it possible for us to get a copy of the powershell being used in the PRTG ITOM package. We have noticed the resume does not working correctly and would like to be able to adapt the current ps1 file being used. 2. Is it possible to extract information from an email into a variable in Hornbill. I have tried using the string utilties and this only seems to tell me the string exists but is not able to actually extract the specific bit of text.
SamS Posted March 1, 2022 Posted March 1, 2022 @AndyHill, For 2: the trick is to use the "Regex Substring" from the "String Utilities". Regular Expressions aren't for the faint of heart, though.
AndyHill Posted March 1, 2022 Author Posted March 1, 2022 @SamS thanks for the response I did start down the regex path but again I could only seem to identify that what I was after was in there. I couldn't pull the information out after seeing it, just a confirmation that it found it.
Graham Posted March 1, 2022 Posted March 1, 2022 @AndyHill For your first point, would you mind expanding on the nature of the problem you're having with the Resume operation? Once we understand the issue we can apply a fix and release an updated version.
SamS Posted March 1, 2022 Posted March 1, 2022 Hi @AndyHill, The "Result" should give you the substring it found. What is the regex and what is the sample text?
Steve G Posted March 2, 2022 Posted March 2, 2022 @AndyHill, I've tested both operations in the PRTG package and they are working with our PRTG server. But to help with your diagnosis, we've just released an update to the PRTG package that outputs more debugging information. Let me know how you get on, and please post any errors here so we can investigate further if need be. Kind regards, Steve
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now