# Find all the old OPDG connection details

**URL:** <https://forums.powershell.org/t/find-all-the-old-opdg-connection-details/21687>\
**Category:** PowerShell Help\
**Created:** [February 18, 2023, 4:35pm UTC](https://forums.powershell.org/t/find-all-the-old-opdg-connection-details/21687 "2023-02-18T16:35:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pradeep](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@Pradeep](https://forums.powershell.org/u/Pradeep)\
**Post date:** [February 18, 2023, 4:35pm UTC](https://forums.powershell.org/t/find-all-the-old-opdg-connection-details/21687/1 "2023-02-18T16:35:07Z")

</div>

I am new to PowerShell and I am trying to create a PowerShell script.

we have an On-premises data gateway and on that OPDG there are API connection, sftp and ssh connection  
are hosted, So we have to find which connection + host name + resource group are their on that  
OPDG machine. For all the subscriptions(prod,QA and Dev)

---

<div class="post-metadata">

**Author:** ![mrfloppy](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@mrfloppy](https://forums.powershell.org/u/mrfloppy)\
**Post date:** [February 20, 2023, 2:38pm UTC](https://forums.powershell.org/t/find-all-the-old-opdg-connection-details/21687/3 "2023-02-20T14:38:32Z")

</div>

I dont know that you can find all that from the server. If you logon to your power automate, under Data \> Connections, you can see what connections you have configured on your gateway.

There might/should be a log on the server that has the info, but ive never checked there. Always checked my flows or connections on power automate.

---

<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:14pm UTC](https://forums.powershell.org/t/find-all-the-old-opdg-connection-details/21687/5 "2024-05-16T20:14:42Z")

</div>


