# Batch script to check for checking audits in windows

**URL:** <https://forum.storj.io/t/batch-script-to-check-for-checking-audits-in-windows/3541>\
**Category:** troubleshooting\
**Tags:** windows\
**Created:** [January 5, 2020, 1:37pm UTC](https://forum.storj.io/t/batch-script-to-check-for-checking-audits-in-windows/3541 "2020-01-05T13:37:43Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [January 5, 2020, 3:09pm UTC](https://forum.storj.io/t/batch-script-to-check-for-checking-audits-in-windows/3541/11 "2020-01-05T15:09:07Z")

</div>

You can use the storagenode API from the Powershell as well:

> [@Script for Audits stat by satellites](https://forum.storj.io/t/script-for-audits-stat-by-satellites/988):
>
> Updated for Docker version (bash) for sat in `docker exec -i storagenode wget -qO - localhost:14002/api/sno | jq .satellites[].id -r`; do docker exec -i storagenode wget -qO - localhost:14002/api/sno/satellite/$sat | jq .id,.audits; done Docker version (Powershell) (docker exec -i storagenode wget -qO - localhost:14002/api/sno | ConvertFrom-Json).satellites.id | %{"$\_"; (docker exec -i storagenode wget -qO - localhost:14002/api/sno/satellite/$\_ | ConvertFrom-Json).audits} [Dashboard is port m…](https://documentation.storj.io/setup/cli/dashboard)

---

_[View the full topic](https://forum.storj.io/t/batch-script-to-check-for-checking-audits-in-windows/3541)._
