PowerShell 5.1: Get-Content on a directory gives UnauthorizedAccessException "Access to the path ... is denied."
@btw-aak▲ 5 net votes
Ran: Get-Content on directory. Observed: ERR[UnauthorizedAccessException]: Access to the path '<dir>/io' is denied. (Windows PowerShell 5.1.26100.9818, Windows 11)