I have a question about checking website activity with PowerShell. As part of our Continuous Integration process, I update a QA Test Server with our web application files.
To do this, using PowerShell, I remotely stop IIS, copy files, restart IIS.
The issue is that I don't want to do this if QA is testing on the machine. I'm wondering if there is a way using PowerShell that I can tell if someone is using the web application before I stop IIS. If there is activity on the site/app, I'll send an email notification that file updates are pending.
Any information or points to such, guidance, help is Greatly Appreciated!