Unable to view all the files via powershell script
When I connect to the host using WinSCP I am see all the files under \xmt\logs\ folder but when use the below command, unable to see some files. Please help
Powershell command -
#-----------------
$remotepath="\xmt\logs\"
(($session.ListDirectory($remotepath)).files)
#-----------------
the files dont start with .xxx and show hidden files is not checked in the panel options in WinSCP GUI.
filesnames are like -
01080621.442
01080622.m43
Powershell command -
#-----------------
$remotepath="\xmt\logs\"
(($session.ListDirectory($remotepath)).files)
#-----------------
the files dont start with .xxx and show hidden files is not checked in the panel options in WinSCP GUI.
filesnames are like -
01080621.442
01080622.m43