[HELP] Invoke Powershell Error

I want to use powershell in uipath. ping and other commands work fine. But commands such as Get-NetAdapter as shown in the image give me an error. I would like to eventually build a system that automatically switches the internet connection. I would like to know how to solve this problem.

Windows project is using a different PowerShell version. It seems that in the new version you don’t install yet the Get-NetAdapter cmdlet.

I can use get-netadapter in regular powershell without uipath. how do I use get-netadapter with uipath?

Try to create a Windows-Legacy project and see if the Get-NetAdapter cmdlet is working.