On a corporate machine, whenever one attempts to open Powershell, Powershell sends many requests to domain controllers. This would be find if the machine was on the network, but when it's not, then it just takes forever to time out and this happens before every command is executed (i.e. the timeouts keep happening after type and hitting enter every command).
I looked in the following places for where these calls are being made from:
but none of these files exist.
Where else would the setting/scripts be that would be causes these calls to be made?
If it matters, the way I have debugged this so far was suspecting network timeouts, and then using wireshark to see the requests time out. There might be more going on that just attempts to contact the domain controller though.