PowerShell Test-Path Computer Remote

$cred = Get-Credential
Invoke-Command -ComputerName Computer1 -Credential $cred -ScriptBlock { Test-Path "C:\Temp\test.txt" }
Sparkling Spider