I have searched all over, but cannot find what's wrong with the following:
PS C:\> Get-ChildItem -Path "\\HANNIBAL\C:\"
Get-ChildItem : Cannot find path '\\HANNIBAL\C:\' because it does not exist.
At line:1 char:1
+ Get-ChildItem -Path "\\HANNIBAL\C:\"
PS C:\> Get-ChildItem -Path "C:\" works fine. The machine name is HANNIBAL in both cases.
Just FYI
PS C:\> $PSversionTable.PSversion
Major Minor Build Revision
----- ----- ----- --------
5 1 17134 165
Any help will be much appreciated. TIA - joe