Let's assume that you don't have folder c:\temp
if you try to give this command:
gci c:\temp
output is:
gci : Cannot find path 'C:temp' jadajada
however if you give following command:
gci -r c:\temp
output is something like:
Directory: C:\Windows\assembly\NativeImage...
...
...
just to be clear here is the "full command":
Get-ChildItem -Recurse -Path c:\temp
another example:
Get-ChildItem -Recurse -Path c:\what_ever
if you try to give this command:
gci c:\temp
output is:
gci : Cannot find path 'C:temp' jadajada
however if you give following command:
gci -r c:\temp
output is something like:
Directory: C:\Windows\assembly\NativeImage...
...
...
just to be clear here is the "full command":
Get-ChildItem -Recurse -Path c:\temp
another example:
Get-ChildItem -Recurse -Path c:\what_ever