test-path

There are 1 entries for the tag test-path

test-remotepath.ps1

One of the cmdlets I use most often in my scripts is test-path, which simply tells you whether or not a particular file or path exists. Below is test-remotepath, which I use to tell me if a remote file or path exists. This particular script uses get-ftp from NetCmdlets, but it could also just as easily be done with rexec, rshell, or even ssh (sexec). ## test-remotepath.ps1: Tests if a remote file/path exists ## This script uses ftp to determine whether or not a remote file or path exists. ## This...

Posted On Monday, August 25, 2008 5:23 PM | Feedback (1)

Copyright © Lance Robinson

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski