Summary: Learn how to use a Windows PowerShell cmdlet to test the presence of a remote share.
How can I use Windows PowerShell to test for the presence of a share on a remote server?
Use the Test-Path cmdlet and supply a UNC path, as shown here.
13:55 C:\> Test-Path \\Server1\downloads
True
0 comments