Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Need help to get file count from remote server directory using powershell

$
0
0
Hi, I need help to get file count from the directory "T:/System Volume information" from a remoter serverI'm trying to run below PSEXEC command but its failing.[code="plain"]psexec \\MYSERVER28 -S cmd DIR "T:\System Volume Information" /b/a-d | find /v /c "::"[/code]how can i achieve the file count on remote server.

Viewing all articles
Browse latest Browse all 467

Latest Images

Trending Articles



Latest Images