# Use VMware PowerCLI to diagnose connectivity (Windows only)

**URL:** <https://community.dynatrace.com/t/use-vmware-powercli-to-diagnose-connectivity-windows-only/42732>\
**Category:** Troubleshooting\
**Tags:** vmware\
**Created:** [December 17, 2023, 11:50am UTC](https://community.dynatrace.com/t/use-vmware-powercli-to-diagnose-connectivity-windows-only/42732 "2023-12-17T11:50:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darynakovyrina](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/darynakovyrina/32/30846_2.png) [@darynakovyrina](https://community.dynatrace.com/u/darynakovyrina)\
**Post date:** [December 17, 2023, 11:50am UTC](https://community.dynatrace.com/t/use-vmware-powercli-to-diagnose-connectivity-windows-only/42732/1 "2023-12-17T11:50:00Z")

</div>

If you’re using an ActiveGate deployed on a Windows machine, use the following procedure to verify that your VMware infrastructure is working. These commands should be executed on the server where the ActiveGate is installed.

1. Install [VMware PowerCLI](https://dt-url.net/gt030cr).

2. Enable script execution in PowerShell.

3. Connect to the vSphere server using your Dynatrace credentials.

4. Test the connection.

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [December 19, 2024, 8:40am UTC](https://community.dynatrace.com/t/use-vmware-powercli-to-diagnose-connectivity-windows-only/42732/2 "2024-12-19T08:40:18Z")

</div>

Thanks&nbsp;[@darynakovyrina](https://community.dynatrace.com/user/48950)&nbsp;for organized procedures.
