What’s the difference between these two commands?
If I do
Get-ChildItem -Path “C:\Program Files (x86)\Microsoft Office”it shows the items, but if I do
Get-Content -Path “C:\Program Files (x86)\Microsoft Office”it says “Get-Content : Access to the path ‘C:\Program Files (x86)\Microsoft Office’ is denied.”