# Check Activity on a WebSite/WebApp...

**URL:** <https://forums.powershell.org/t/check-activity-on-a-website-webapp/5147>\
**Category:** PowerShell Help\
**Created:** [November 2, 2015, 2:54am UTC](https://forums.powershell.org/t/check-activity-on-a-website-webapp/5147 "2015-11-02T02:54:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![superfreak3](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/superfreak3/32/245_2.png) [@superfreak3](https://forums.powershell.org/u/superfreak3)\
**Post date:** [November 2, 2015, 2:54am UTC](https://forums.powershell.org/t/check-activity-on-a-website-webapp/5147/1 "2015-11-02T02:54:20Z")

</div>

Hi all,

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!

Thanks!!!

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [November 2, 2015, 5:02am UTC](https://forums.powershell.org/t/check-activity-on-a-website-webapp/5147/2 "2015-11-02T05:02:02Z")

</div>

What about pausing iis? That would let it finish any requests. When the status goes from Pausing to paused, you can stop it.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:44pm UTC](https://forums.powershell.org/t/check-activity-on-a-website-webapp/5147/3 "2024-05-16T20:44:29Z")

</div>


