Sounds good to me. I've only been powershell coding a year, so I'm sure there are more elegant and efficient ways than what I've devised. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181009/99f1c06c/attachment.html>