Kubectl exec works fine in Rancher but timeout in Powershell

I running the bellow command in Rancher UI and it’s working. However, when I run the same using powershell, it times out everytime. Any suggestion?

kubectl exec -it [pod] – powershell Get-EventLog -LogName Test -Newest 2

Could you post the exact output and possibly other symptoms?