To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: 5.8.195
Operating system: Windows 11
PowerShell version(s): 5
*** Please add details and screenshots as needed below. ***
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Hi, I have a GUI that connects to Office 365/Exchange Online to perform actions against mailboxes on there. I have a button that performs the connection/asks for creds etc and a light that turns green when a connection is established. I would like a background process to check that connection to 365 is still up and turn the same light red to notify the user. Is a timer control the best tool for this job?
Thanks.
Timer Control to Monitor Connection
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Timer Control to Monitor Connection
[Topic moved by moderator to PowerShell GUIs forum]
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Timer Control to Monitor Connection
A timer as opposed to what other methods or controls. Your question is ambiguous. How can you know you are connected at any time? What is your connection method and do you have a connection object?